AstNodeBuilder
io.joern.jssrc2cpg.astcreation.AstNodeBuilder
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass 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 literalNode(node: BabelNodeInfo, code: String, dynamicTypeOption: Option[String]): NewLiteral
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
In this article