AntlrParser

io.joern.rubysrc2cpg.parser.AntlrParser
class AntlrParser(filename: String)

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

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def parse(): (Try[ProgramContext], List[String])

Concrete fields

val parser: RubyParser