AstNodeBuilder

io.joern.x2cpg.AstNodeBuilder
trait AstNodeBuilder[Node, NodeProcessor]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
NodeProcessor

Members list

Value members

Abstract methods

protected def column(node: Node): Option[Integer]
protected def columnEnd(element: Node): Option[Integer]
protected def line(node: Node): Option[Integer]
protected def lineEnd(node: Node): Option[Integer]

Concrete methods

protected def annotationNode(node: Node, code: String, name: String, fullName: String): NewAnnotation
protected def blockNode(node: Node): NewBlock
protected def blockNode(node: Node, code: String, typeFullName: String): NewBlock
def callNode(node: Node, code: String, name: String, methodFullName: String, dispatchType: String): NewCall
def callNode(node: Node, code: String, name: String, methodFullName: String, dispatchType: String, signature: Option[String], typeFullName: Option[String]): NewCall
protected def controlStructureNode(node: Node, controlStructureType: String, code: String): NewControlStructure
protected def fieldIdentifierNode(node: Node, name: String, code: String): NewFieldIdentifier
protected def identifierNode(node: Node, name: String, code: String, typeFullName: String, dynamicTypeHints: Seq[String]): NewIdentifier
protected def jumpTargetNode(node: Node, name: String, code: String, parserTypeName: Option[String]): NewJumpTarget
protected def literalNode(node: Node, code: String, typeFullName: String, dynamicTypeHints: Seq[String]): NewLiteral
protected def localNode(node: Node, name: String, code: String, typeFullName: String, closureBindingId: Option[String]): NewLocal
protected def memberNode(node: Node, name: String, code: String, typeFullName: String): NewMember
protected def memberNode(node: Node, name: String, code: String, typeFullName: String, dynamicTypeHints: Seq[String]): NewMember
def methodNode(node: Node, name: String, fullName: String, signature: String, fileName: String): NewMethod
protected def methodNode(node: Node, name: String, code: String, fullName: String, signature: Option[String], fileName: String, astParentType: Option[String], astParentFullName: Option[String]): NewMethod
protected def methodRefNode(node: Node, code: String, methodFullName: String, typeFullName: String): NewMethodRef
protected def methodReturnNode(node: Node, typeFullName: String): NewMethodReturn
protected def newImportNode(code: String, importedEntity: String, importedAs: String, include: Node): NewImport
protected def parameterInNode(node: Node, name: String, code: String, index: Int, isVariadic: Boolean, evaluationStrategy: String, typeFullName: String): NewMethodParameterIn
protected def parameterInNode(node: Node, name: String, code: String, index: Int, isVariadic: Boolean, evaluationStrategy: String, typeFullName: Option[String]): NewMethodParameterIn
protected def returnNode(node: Node, code: String): NewReturn
def typeDeclNode(node: Node, name: String, fullName: String, fileName: String, inheritsFrom: Seq[String], alias: Option[String]): NewTypeDecl
protected def typeDeclNode(node: Node, name: String, fullName: String, filename: String, code: String, astParentType: String, astParentFullName: String, inherits: Seq[String], alias: Option[String]): NewTypeDecl
protected def typeRefNode(node: Node, code: String, typeFullName: String): NewTypeRef
protected def unknownNode(node: Node, code: String): NewUnknown