COBOL analysis is being deprecated. Version 1.23 is the final Semmle release to include the CodeQL library for COBOL.

Class PreprocessingDirectiveList

Import path

import semmle.cobol.AST_extended

Direct supertypes

Indirect supertypes

Predicates

Inherited predicates

getASuccessor

Get any possible successor in the progam’s control flow.

from AstNode
getAnItem

Get an item of this PreprocessingDirectiveList

from PreprocessingDirectiveList_
getEnclosingText

Get the unit containing this element.

from AstNode
getEnclosingUnit

Get the unit containing this element.

from AstNode
getFirstItemfrom PreprocessingDirectiveList_
getItem

Get the nth item of this PreprocessingDirectiveList

from PreprocessingDirectiveList_
getLastItemfrom PreprocessingDirectiveList_
getLocation

Get this element’s location.

from Locatable
getNextItemfrom PreprocessingDirectiveList_
getNumLines

Get the number of lines covered by this element.

from Locatable
getParentfrom PreprocessingDirectiveList_
hasAncestor

Does this AstNode have ‘other’ as a ancestor?

from AstNode
hasDescendant

Does this AstNode have ‘other’ as a descendant?

from AstNode
sizefrom PreprocessingDirectiveList_