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 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, isStatic: Boolean): String
protected def getTmpIdentifier(originNode: PhpNode, maybeTypeFullName: Option[String], prefix: String): NewIdentifier
protected def intToLiteralAst(num: Int): Ast
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

Concrete fields

protected val globalNamespace: NewNamespaceBlock