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, runpublic AriesTelemetryParser(String fileName) throws FileNotFoundException
fileName - path to the file to be parsedFileNotFoundExceptionpublic AriesTelemetryParser(File inFile) throws FileNotFoundException
inFile - File object from which context free grammar instance is to be readFileNotFoundExceptionpublic AriesTelemetryParser(InputStream inStream)
inStream - InputStream from which context free grammar instance is to be readprotected void generateRuleSet()
generateRuleSet in class Parserpublic static void main(String[] args)
args - the command line arguments