AntlrParser
io.joern.rubysrc2cpg.parser.AntlrParser
class AntlrParser(inputDir: File, filename: String, withDebugging: Boolean, maybeParserProfiler: Option[ParserProfiler])
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.
- inputDir
-
the directory of the target to parse.
- maybeParserProfiler
-
the parser profiler used to capture profiling information.
- withDebugging
-
if set, will enable the ANTLR debugger, i.e, printing of the parse tree.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article