io.joern.rubysrc2cpg.astcreation
Members list
Type members
Classlikes
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
Attributes
- Supertypes
-
trait AstForHereDocsCreatortrait AstCreatorHelpertrait AstForTypesCreatortrait AstForExpressionsCreatortrait AstForFunctionsCreatortrait AstForStatementsCreatortrait AstForPrimitivesCreatorclass AstCreatorBaseclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class AstCreator
- Self type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class AstCreator
- Self type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class AstCreator
- Self type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class AstCreator
- Self type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class AstCreator
- Self type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class AstCreator
- Self type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class AstCreator
- Self type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class AstCreator
- Self type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class AstCreator
- Self type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
GlobalTypes.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
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
RubyOperators.type
Extends the Scope class to help scope variables and create locals.
Extends the Scope class to help scope variables and create locals.
TODO: Extend this to similarly link parameter nodes (especially this
node) for consistency.
Attributes
- Supertypes
-
class Scope[String, NewIdentifier, NewNode]class Objecttrait Matchableclass Any