AstNodeBuilder

io.joern.jssrc2cpg.astcreation.AstNodeBuilder
trait AstNodeBuilder(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 callNode(node: BabelNodeInfo, code: String, name: String, dispatchType: String): NewCall
protected def callNode(code: String, callName: String, dispatchType: String, line: Option[Int], column: Option[Int]): NewCall
protected def createAssignmentCallAst(destId: NewNode, sourceId: NewNode, code: String, line: Option[Int], column: Option[Int]): Ast
protected def createAssignmentCallAst(dest: Ast, source: Ast, code: String, line: Option[Int], column: Option[Int]): Ast
protected def createEqualsCallAst(dest: Ast, source: Ast, line: Option[Int], column: Option[Int]): Ast
protected def createFieldAccessCallAst(baseNode: NewNode, partNode: NewNode, line: Option[Int], column: Option[Int]): Ast
protected def createFieldAccessCallAst(baseAst: Ast, partNode: NewNode, line: Option[Int], column: Option[Int]): Ast
protected def createIndexAccessCallAst(baseAst: Ast, partAst: Ast, line: Option[Int], column: Option[Int]): Ast
protected def createTernaryCallAst(testAst: Ast, trueAst: Ast, falseAst: Ast, line: Option[Int], column: Option[Int]): Ast
protected def identifierNode(node: BabelNodeInfo, name: String): NewIdentifier
protected def jumpTargetNode(switchCase: BabelNodeInfo): NewJumpTarget
protected def literalNode(node: BabelNodeInfo, code: String, dynamicTypeOption: Option[String]): NewLiteral
protected def methodReturnNode(func: BabelNodeInfo): NewMethodReturn
protected def staticCallNode(code: String, callName: String, fullName: String, line: Option[Int], column: Option[Int]): NewCall
protected def templateDomNode(name: String, code: String, line: Option[Int], column: Option[Int]): NewTemplateDom
protected def voidCallNode(line: Option[Int], column: Option[Int]): NewCall