AstNodeBuilder
io.joern.jssrc2cpg.astcreation.AstNodeBuilder
trait AstNodeBuilder
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- class AstCreator
- Self type
Members list
Concise view
Value members
Concrete methods
protected def createAssignmentCallAst(destId: NewNode, sourceId: NewNode, code: String, line: Option[Integer], column: Option[Integer]): Ast
protected def createAssignmentCallAst(dest: Ast, source: Ast, code: String, line: Option[Integer], column: Option[Integer]): Ast
protected def createCallAst(callNode: NewCall, arguments: List[Ast], receiver: Option[Ast], base: Option[Ast]): Ast
protected def createCallNode(code: String, callName: String, dispatchType: String, line: Option[Integer], column: Option[Integer]): NewCall
protected def createClosureBindingNode(closureBindingId: String, closureOriginalName: String): NewClosureBinding
protected def createControlStructureNode(node: BabelNodeInfo, controlStructureType: String): NewControlStructure
protected def createEqualsCallAst(dest: Ast, source: Ast, line: Option[Integer], column: Option[Integer]): Ast
protected def createFieldAccessCallAst(baseNode: NewNode, partNode: NewNode, line: Option[Integer], column: Option[Integer]): Ast
protected def createFieldAccessCallAst(baseAst: Ast, partNode: NewNode, line: Option[Integer], column: Option[Integer]): Ast
protected def createFieldIdentifierNode(name: String, line: Option[Integer], column: Option[Integer]): NewFieldIdentifier
protected def createFunctionTypeAndTypeDeclAst(methodNode: NewMethod, parentNode: NewNode, methodName: String, methodFullName: String, filename: String): Ast
protected def createIdentifierNode(name: String, dynamicTypeOption: Option[String], line: Option[Integer], column: Option[Integer]): NewIdentifier
protected def createIndexAccessCallAst(baseNode: NewNode, partNode: NewNode, line: Option[Integer], column: Option[Integer]): Ast
protected def createIndexAccessCallAst(baseAst: Ast, partAst: Ast, line: Option[Integer], column: Option[Integer]): Ast
protected def createLiteralNode(code: String, dynamicTypeOption: Option[String], line: Option[Integer], column: Option[Integer]): NewLiteral
protected def createLocalNode(name: String, typeFullName: String, closureBindingId: Option[String]): NewLocal
protected def createMemberNode(name: String, node: BabelNodeInfo, dynamicTypeOption: Option[String]): NewMember
protected def createMethodNode(methodName: String, methodFullName: String, func: BabelNodeInfo): NewMethod
protected def createMethodRefNode(code: String, methodFullName: String, func: BabelNodeInfo): NewMethodRef
protected def createParameterInNode(name: String, code: String, index: Int, isVariadic: Boolean, line: Option[Integer], column: Option[Integer], tpe: Option[String]): NewMethodParameterIn
protected def createStaticCallNode(code: String, callName: String, fullName: String, line: Option[Integer], column: Option[Integer]): NewCall
protected def createTemplateDomNode(name: String, code: String, line: Option[Integer], column: Option[Integer]): NewTemplateDom
protected def createTernaryCallAst(testAst: Ast, trueAst: Ast, falseAst: Ast, line: Option[Integer], column: Option[Integer]): Ast
protected def createTypeDeclNode(name: String, fullName: String, filename: String, code: String, astParentType: String, astParentFullName: String, inherits: Seq[String], alias: Option[String], line: Option[Integer], column: Option[Integer]): NewTypeDecl
protected def createTypeRefNode(code: String, typeFullName: String, classNode: BabelNodeInfo): NewTypeRef