io.shiftleft.js2cpg.parser

Members list

Type members

Classlikes

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

Attributes

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

Attributes

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

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object JsSource

Attributes

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

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type