AstCreatorHelper

io.joern.php2cpg.astcreation.AstCreatorHelper
trait AstCreatorHelper(disableFileContent: Boolean)(implicit withSchemaValidation: ValidationMode)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class AstCreator
Self type

Members list

Value members

Concrete methods

protected def astForIdentifierWithLocalRef(ident: NewIdentifier, refLocal: NewNode): Ast
protected def code(phpNode: PhpNode): String
protected def codeForMethodCall(call: PhpCallExpr, targetAst: Ast, name: String): String
protected def codeForStaticMethodCall(call: PhpCallExpr, name: String): String
protected def column(phpNode: PhpNode): Option[Int]
protected def columnEnd(phpNode: PhpNode): Option[Int]
protected def composeMethodFullName(methodName: String): String
protected def composeMethodFullNameForCall(methodName: String, appendMetaTypeDeclExt: Boolean): String
protected def getArgsCode(call: PhpCallExpr, arguments: Seq[Ast]): String
protected def getCallName(call: PhpCallExpr, nameAst: Option[Ast]): String
protected def getMfn(call: PhpCallExpr, name: String): String
protected def getTmpIdentifier(originNode: PhpNode, maybeTypeFullName: Option[String], prefix: String): NewIdentifier
protected def handleVariableOccurrence(expr: PhpNode, name: String, code: Option[String], tfn: Option[String], modifiers: List[String]): NewNode
protected def intToLiteralAst(num: Int): Ast
protected def isBuiltinFunc(name: String): Boolean
protected def line(phpNode: PhpNode): Option[Int]
protected def lineEnd(phpNode: PhpNode): Option[Int]
override protected def offset(phpNode: PhpNode): Option[(Int, Int)]

Attributes

Definition Classes
protected def prependNamespacePrefix(name: String): String
protected def staticInitMethodAst(node: PhpNode, methodNode: NewMethod, body: Ast, returnType: String): Ast

Concrete fields

protected val globalNamespace: NewNamespaceBlock