io.joern.rubysrc2cpg.parser
Members list
Type members
Classlikes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
AntlrContextHelpers.type
A consumable wrapper for the RubyParser class used to parse the given file and be disposed thereafter.
A consumable wrapper for the RubyParser class used to parse the given file and be disposed thereafter.
Value parameters
- filename
-
the file path to the file to be parsed.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
General purpose ANTLR parse tree printer.
General purpose ANTLR parse tree printer.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
AstPrinter.type
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class RubyLexerBase
- Self type
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
HereDocHandling.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class RubyLexerBase
- Self type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ParserAst.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ParserAstCreator.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class RubyLexerBase
- Self type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class RubyLexerBase
- Self type
A re-usable parser object that clears the ANTLR DFA-cache if it determines that the memory usage is becoming large. Once this parser is closed, the whole cache is evicted.
A re-usable parser object that clears the ANTLR DFA-cache if it determines that the memory usage is becoming large. Once this parser is closed, the whole cache is evicted.
This is done in this way since clearing the cache after each file is inefficient, since the cache must be re-built every time, but the cache can become unnecessarily large at times. The cache also does not evict itself at the end of parsing.
Value parameters
- clearLimit
-
the percentage of used heap to clear the DFA-cache on.
Attributes
- Supertypes
-
trait AutoCloseableclass Objecttrait Matchableclass Any
Aggregates auxiliary features to RubyLexer in a single place.
Aggregates auxiliary features to RubyLexer in a single place.
Attributes
- Supertypes
-
trait HereDocHandlingtrait QuotedLiteralHandlingtrait InterpolationHandlingtrait RegexLiteralHandlingclass Lexertrait TokenSourceclass Recognizer[Integer, LexerATNSimulator]class Objecttrait Matchableclass AnyShow all
Simplifies the token stream obtained from RubyLexer
.
Simplifies the token stream obtained from RubyLexer
.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type