AstGenNodeBuilder

io.joern.x2cpg.astgen.AstGenNodeBuilder
trait AstGenNodeBuilder[NodeProcessor] extends AstNodeBuilder[BaseNodeInfo[_], NodeProcessor]

An extension of AstNodeBuilder that is able to provide useful defaults from the more specialized node type that AstGen-based frontends use.

Attributes

Graph
Supertypes
trait AstNodeBuilder[BaseNodeInfo[_], NodeProcessor]
class Object
trait Matchable
class Any
Self type
NodeProcessor

Members list

Value members

Concrete methods

override def code(node: BaseNodeInfo[_]): String

Attributes

Definition Classes
override def column(node: BaseNodeInfo[_]): Option[Integer]

Attributes

Definition Classes
override def columnEnd(node: BaseNodeInfo[_]): Option[Integer]

Attributes

Definition Classes
override def line(node: BaseNodeInfo[_]): Option[Integer]

Attributes

Definition Classes
override def lineEnd(node: BaseNodeInfo[_]): Option[Integer]

Attributes

Definition Classes

Inherited methods

protected def annotationNode(node: BaseNodeInfo[_], code: String, name: String, fullName: String): NewAnnotation

Attributes

Inherited from:
AstNodeBuilder
protected def blockNode(node: BaseNodeInfo[_], code: String, typeFullName: String): NewBlock

Attributes

Inherited from:
AstNodeBuilder
protected def blockNode(node: BaseNodeInfo[_]): NewBlock

Attributes

Inherited from:
AstNodeBuilder
def callNode(node: BaseNodeInfo[_], code: String, name: String, methodFullName: String, dispatchType: String, signature: Option[String], typeFullName: Option[String]): NewCall

Attributes

Inherited from:
AstNodeBuilder
def callNode(node: BaseNodeInfo[_], code: String, name: String, methodFullName: String, dispatchType: String): NewCall

Attributes

Inherited from:
AstNodeBuilder
protected def controlStructureNode(node: BaseNodeInfo[_], controlStructureType: String, code: String): NewControlStructure

Attributes

Inherited from:
AstNodeBuilder
protected def fieldIdentifierNode(node: BaseNodeInfo[_], name: String, code: String): NewFieldIdentifier

Attributes

Inherited from:
AstNodeBuilder
protected def identifierNode(node: BaseNodeInfo[_], name: String, code: String, typeFullName: String, dynamicTypeHints: Seq[String]): NewIdentifier

Attributes

Inherited from:
AstNodeBuilder
protected def jumpTargetNode(node: BaseNodeInfo[_], name: String, code: String, parserTypeName: Option[String]): NewJumpTarget

Attributes

Inherited from:
AstNodeBuilder
protected def literalNode(node: BaseNodeInfo[_], code: String, typeFullName: String, dynamicTypeHints: Seq[String]): NewLiteral

Attributes

Inherited from:
AstNodeBuilder
protected def localNode(node: BaseNodeInfo[_], name: String, code: String, typeFullName: String, closureBindingId: Option[String]): NewLocal

Attributes

Inherited from:
AstNodeBuilder
protected def memberNode(node: BaseNodeInfo[_], name: String, code: String, typeFullName: String, dynamicTypeHints: Seq[String]): NewMember

Attributes

Inherited from:
AstNodeBuilder
protected def memberNode(node: BaseNodeInfo[_], name: String, code: String, typeFullName: String): NewMember

Attributes

Inherited from:
AstNodeBuilder
protected def methodNode(node: BaseNodeInfo[_], name: String, code: String, fullName: String, signature: Option[String], fileName: String, astParentType: Option[String], astParentFullName: Option[String]): NewMethod

Attributes

Inherited from:
AstNodeBuilder
def methodNode(node: BaseNodeInfo[_], name: String, fullName: String, signature: String, fileName: String): NewMethod

Attributes

Inherited from:
AstNodeBuilder
protected def methodRefNode(node: BaseNodeInfo[_], code: String, methodFullName: String, typeFullName: String): NewMethodRef

Attributes

Inherited from:
AstNodeBuilder
protected def methodReturnNode(node: BaseNodeInfo[_], typeFullName: String): NewMethodReturn

Attributes

Inherited from:
AstNodeBuilder
protected def newImportNode(code: String, importedEntity: String, importedAs: String, include: BaseNodeInfo[_]): NewImport

Attributes

Inherited from:
AstNodeBuilder
protected def offset(node: BaseNodeInfo[_]): Option[(Int, Int)]

Attributes

Inherited from:
AstNodeBuilder
protected def parameterInNode(node: BaseNodeInfo[_], name: String, code: String, index: Int, isVariadic: Boolean, evaluationStrategy: String, typeFullName: Option[String]): NewMethodParameterIn

Attributes

Inherited from:
AstNodeBuilder
protected def parameterInNode(node: BaseNodeInfo[_], name: String, code: String, index: Int, isVariadic: Boolean, evaluationStrategy: String, typeFullName: String): NewMethodParameterIn

Attributes

Inherited from:
AstNodeBuilder
protected def returnNode(node: BaseNodeInfo[_], code: String): NewReturn

Attributes

Inherited from:
AstNodeBuilder
protected def shortenCode(code: String): String

Attributes

Inherited from:
AstNodeBuilder
protected def typeDeclNode(node: BaseNodeInfo[_], name: String, fullName: String, filename: String, code: String, astParentType: String, astParentFullName: String, inherits: Seq[String], alias: Option[String]): NewTypeDecl

Attributes

Inherited from:
AstNodeBuilder
def typeDeclNode(node: BaseNodeInfo[_], name: String, fullName: String, fileName: String, inheritsFrom: Seq[String], alias: Option[String]): NewTypeDecl

Attributes

Inherited from:
AstNodeBuilder
protected def typeRefNode(node: BaseNodeInfo[_], code: String, typeFullName: String): NewTypeRef

Attributes

Inherited from:
AstNodeBuilder
protected def unknownNode(node: BaseNodeInfo[_], code: String): NewUnknown

Attributes

Inherited from:
AstNodeBuilder