php2cpg
php2cpg
io.joern.php2cpg
Config
Main
Php2Cpg
io.joern.php2cpg.astcreation
AstCreator
AstCreator
NameConstants
TypeConstants
io.joern.php2cpg.datastructures
Scope
io.joern.php2cpg.parser
Domain
PhpArg
PhpArg
PhpArgument
PhpAssignment
PhpAssignment
PhpAttributes
PhpAttributes
PhpBinaryOp
PhpBinaryOp
PhpBreakStmt
PhpBuiltins
PhpCaseStmt
PhpCast
PhpCast
PhpCatchStmt
PhpClassConstFetchExpr
PhpClassStmt
PhpConstDeclaration
PhpConstFetchExpr
PhpConstStmt
PhpContinueStmt
PhpDoStmt
PhpDomainTypeConstants
PhpEchoStmt
PhpElseIfStmt
PhpElseStmt
PhpEncapsed
PhpEncapsedPart
PhpEncapsedPart
PhpExpr
PhpFile
PhpFinallyStmt
PhpFloat
PhpForStmt
PhpFuncCall
PhpIfStmt
PhpInt
PhpIsset
PhpMethodDecl
PhpModifiers
PhpNameExpr
PhpNode
PhpParam
PhpPrint
PhpPropertyStmt
PhpPropertyValue
PhpReturnStmt
PhpScalar
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
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