php2cpg
php2cpg
io.joern.php2cpg
Config
Main
Php2Cpg
io.joern.php2cpg.astcreation
AstCreator
AstCreator
NameConstants
TypeConstants
io.joern.php2cpg.datastructures
ArrayIndexTracker
ArrayIndexTracker
Scope
io.joern.php2cpg.parser
Domain
ClassLikeTypes
NopStmt
PhpArg
PhpArg
PhpArgument
PhpArrayDimFetchExpr
PhpArrayExpr
PhpArrayItem
PhpAssignment
PhpAssignment
PhpAttributes
PhpAttributes
PhpBinaryOp
PhpBinaryOp
PhpBreakStmt
PhpBuiltins
PhpCallExpr
PhpCaseStmt
PhpCast
PhpCast
PhpCatchStmt
PhpClassConstFetchExpr
PhpClassLikeStmt
PhpCloneExpr
PhpConstDeclaration
PhpConstFetchExpr
PhpConstStmt
PhpContinueStmt
PhpDeclareItem
PhpDeclareStmt
PhpDoStmt
PhpDomainTypeConstants
PhpEchoStmt
PhpElseIfStmt
PhpElseStmt
PhpEmptyExpr
PhpEncapsed
PhpEncapsedPart
PhpEncapsedPart
PhpEnumCaseStmt
PhpErrorSuppressExpr
PhpEvalExpr
PhpExitExpr
PhpExpr
PhpFile
PhpFinallyStmt
PhpFloat
PhpForStmt
PhpGotoStmt
PhpHaltCompilerStmt
PhpIfStmt
PhpIncludeExpr
PhpIncludeType
PhpInstanceOfExpr
PhpInt
PhpIsset
PhpLabelStmt
PhpListExpr
PhpMethodDecl
PhpModifiers
PhpNameExpr
PhpNamespaceStmt
PhpNewExpr
PhpNode
PhpParam
PhpPrint
PhpPropertyFetchExpr
PhpPropertyStmt
PhpPropertyValue
PhpReturnStmt
PhpScalar
PhpSimpleScalar
PhpStmt
PhpString
PhpString
PhpSwitchStmt
PhpTernaryOp
PhpThrowExpr
PhpTryStmt
PhpUnaryOp
PhpUnaryOp
PhpVariable
PhpVariadicPlaceholder
PhpWhileStmt
PhpParser
io.joern.php2cpg.passes
AstCreationPass
php2cpg
/
io.joern.php2cpg.datastructures
/
Scope
Scope
class
Scope
extends
Scope
[
String
,
NewNode
,
NewNode
]
Graph
Supertypes
class
Scope
[
String
,
NewNode
,
NewNode
]
class
Object
trait
Matchable
class
Any
Value members
Value members
Concrete methods
def
addConstOrStaticInitToScope
(
ast:
Ast
):
Unit
def
addFieldInitToScope
(
ast:
Ast
):
Unit
override
def
addToScope
(
identifier:
String
,
variable:
NewNode
):
NewNode
Definition Classes
Scope
def
getConstAndStaticInits
:
List
[
Ast
]
def
getEnclosingNamespaceName
:
Option
[
String
]
def
getEnclosingTypeDeclType
:
Option
[
String
]
def
getFieldInits
:
List
[
Ast
]
def
getLocalsInScope
:
List
[
NewLocal
]
override
def
popScope
():
Option
[
NewNode
]
Definition Classes
Scope
override
def
pushNewScope
(
scopeNode:
NewNode
):
Unit
Definition Classes
Scope
Inherited methods
def
isEmpty
:
Boolean
Inherited from:
Scope
def
lookupVariable
(
identifier:
String
):
Option
[
NewNode
]
Inherited from:
Scope