AstForDeclarationsCreator

io.joern.jssrc2cpg.astcreation.AstForDeclarationsCreator

Attributes

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

Members list

Concise view

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 codeForBabelNodeInfo(obj: BabelNodeInfo): Seq[String]
def createImportNodeAndAttachToCall(impDecl: BabelNodeInfo, importedEntity: String, importedAs: String, call: Option[NewCall]): NewImport
def createImportNodeAndAttachToCall(code: String, importedEntity: String, importedAs: String, call: Option[NewCall]): NewImport