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

Class WorkingStorageSection

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
getAnEntry

Get an entries belonging to this WorkingStorageSection.

from WorkingStorageSection_
getEnclosingText

Get the unit containing this element.

from AstNode
getEnclosingUnit

Get the unit containing this element.

from AstNode
getEntriesList

Get the list of entries belonging to this WorkingStorageSection.

from WorkingStorageSection_
getEntriesSize

Get the number of elements in the list of entries.

from WorkingStorageSection_
getEntry

Get the nth entries of this WorkingStorageSection.

from WorkingStorageSection_
getFirstEntry

Get the first entries in the list.

from WorkingStorageSection_
getHeader

Get the header of this Unit.

from Unit_
getLastEntry

Get the last entries in the list.

from WorkingStorageSection_
getLocation

Get this element’s location.

from Locatable
getMetrics

Get the metrics for this unit

from Unit
getNumLines

Get the number of lines covered by this element.

from Locatable
getParentfrom Unit_
getProgramDefinition

Get the program definition containing this unit. If the unit is a program definition, return the unit itself.

from Unit
hasAncestor

Does this AstNode have ‘other’ as a ancestor?

from AstNode
hasDescendant

Does this AstNode have ‘other’ as a descendant?

from AstNode