AstNodeBuilder
io.joern.swiftsrc2cpg.astcreation.AstNodeBuilder
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class AstCreator
- Self type
Members list
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 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(node: SwiftNode, methodNode: NewMethod, methodName: String, methodFullName: String): Ast
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], additionalArgsAst: Seq[Ast]): Ast
protected def createStaticCallNode(code: String, callName: String, fullName: String, line: Option[Integer], column: Option[Integer]): NewCall
protected def identifierNode(node: SwiftNode, name: String, dynamicTypeHints: Seq[String]): NewIdentifier
protected def literalNode(node: SwiftNode, code: String, dynamicTypeOption: Option[String]): NewLiteral
def staticInitMethodAstAndBlock(initAsts: List[Ast], fullName: String, signature: Option[String], returnType: String, fileName: Option[String], lineNumber: Option[Integer], columnNumber: Option[Integer]): AstAndMethod
In this article