ControlStructureTraversal

io.shiftleft.semanticcpg.language.types.expressions.ControlStructureTraversal
See theControlStructureTraversal companion object
final class ControlStructureTraversal(val traversal: Iterator[ControlStructure]) extends AnyVal

Attributes

Companion
object
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def condition: Iterator[Expression]
def condition(regex: String): Iterator[ControlStructure]
def isBreak: Iterator[ControlStructure]
def isCatch: Iterator[ControlStructure]
def isContinue: Iterator[ControlStructure]
def isDo: Iterator[ControlStructure]
def isElse: Iterator[ControlStructure]
def isFinally: Iterator[ControlStructure]
def isFor: Iterator[ControlStructure]
def isGoto: Iterator[ControlStructure]
def isIf: Iterator[ControlStructure]
def isSwitch: Iterator[ControlStructure]
def isThrow: Iterator[ControlStructure]
def isTry: Iterator[ControlStructure]
def isWhile: Iterator[ControlStructure]
def whenFalse: Iterator[AstNode]
def whenTrue: Iterator[AstNode]

Concrete fields

val traversal: Iterator[ControlStructure]