AstForDeclarationsCreator

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

Attributes

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

Members list

Value members

Concrete methods

protected def astForDeconstruction(pattern: BabelNodeInfo, sourceAst: Ast, code: String, paramName: Option[String]): Ast
protected def astForExportAllDeclaration(declaration: BabelNodeInfo): Ast
protected def astForExportAssignment(assignment: BabelNodeInfo): Ast
protected def astForExportDefaultDeclaration(declaration: BabelNodeInfo): Ast
protected def astForExportNamedDeclaration(declaration: BabelNodeInfo): Ast
protected def astForImportDeclaration(impDecl: BabelNodeInfo): Ast
protected def astForTSImportEqualsDeclaration(impDecl: BabelNodeInfo): Ast
protected def astForVariableDeclaration(declaration: BabelNodeInfo): Ast
protected def astsForDecorators(elem: BabelNodeInfo): Seq[Ast]
protected def codeForBabelNodeInfo(obj: BabelNodeInfo): Seq[String]