io.shiftleft.js2cpg.parser

Members list

Concise view

Type members

Classlikes

abstract class DefaultAstVisitor(lexicalContext: LexicalContext) extends NodeVisitor[LexicalContext]

Attributes

Graph
Supertypes
class NodeVisitor[LexicalContext]
class Object
trait Matchable
class Any
Known subtypes

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class GeneralizingAstVisitor[T] extends TranslatorNodeVisitor[LexicalContext, T]

This visitor mapped the enterXXX methods to the visit() to provide an interface which is closer to the original pattern. Furthermore, a not overridden visit() implementation calls the visit() method for the next type in the class hierarchy to allow using code to handle certain AST parts in a generalized way on any part of the class hierarchy.

This visitor mapped the enterXXX methods to the visit() to provide an interface which is closer to the original pattern. Furthermore, a not overridden visit() implementation calls the visit() method for the next type in the class hierarchy to allow using code to handle certain AST parts in a generalized way on any part of the class hierarchy.

Attributes

Graph
Supertypes
class TranslatorNodeVisitor[LexicalContext, T]
class Object
trait Matchable
class Any
Known subtypes

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
object JsSource

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class JsSource(val srcDir: File, val projectDir: Path, val source: Source)

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type