AstForFunctionsCreator

io.joern.jssrc2cpg.astcreation.AstForFunctionsCreator
trait AstForFunctionsCreator(implicit withSchemaValidation: ValidationMode)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class AstCreator
Self type

Members list

Type members

Classlikes

case class MethodAst(ast: Ast, methodNode: NewMethod, methodAst: Ast)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

protected def astForFunctionDeclaration(func: BabelNodeInfo, shouldCreateFunctionReference: Boolean, shouldCreateAssignmentCall: Boolean): Ast
protected def astForTSDeclareFunction(func: BabelNodeInfo): Ast
protected def createMethodAstAndNode(func: BabelNodeInfo, shouldCreateFunctionReference: Boolean, shouldCreateAssignmentCall: Boolean, methodBlockContent: List[Ast]): MethodAst
protected def createMethodDefinitionNode(func: BabelNodeInfo, methodBlockContent: List[Ast]): NewMethod