public class AriesTelemetryParser extends Parser
cfgInstance, dictionary, numRules, parseTree, ruleSet
Constructor and Description |
---|
AriesTelemetryParser(File inFile)
Creates a new instance of AriesTelemetryParser
|
AriesTelemetryParser(InputStream inStream)
Creates a new instance of AriesTelemetryParser
|
AriesTelemetryParser(String fileName)
Creates a new instance of AriesTelemetryParser
|
Modifier and Type | Method and Description |
---|---|
protected void |
generateRuleSet()
Generates the array of production rules that define the CFG
|
static void |
main(String[] args)
Main method for testing of parser
|
applyRules, getToken, parse, run
public AriesTelemetryParser(String fileName) throws FileNotFoundException
fileName
- path to the file to be parsedFileNotFoundException
public AriesTelemetryParser(File inFile) throws FileNotFoundException
inFile
- File object from which context free grammar instance is to be readFileNotFoundException
public AriesTelemetryParser(InputStream inStream)
inStream
- InputStream from which context free grammar instance is to be readprotected void generateRuleSet()
generateRuleSet
in class Parser
public static void main(String[] args)
args
- the command line arguments