org.hackystat.telemetry.analyzer.language.parser.impl
Class TelemetryLanguageParserImpl
java.lang.Object
org.hackystat.telemetry.analyzer.language.parser.impl.TelemetryLanguageParserImpl
- All Implemented Interfaces:
- TelemetryLanguageParserImplConstants
public class TelemetryLanguageParserImpl
- extends java.lang.Object
- implements TelemetryLanguageParserImplConstants
Fields inherited from interface org.hackystat.telemetry.analyzer.language.parser.impl.TelemetryLanguageParserImplConstants |
ADD, CHART, COMMA, COMMENT, DEFAULT, DIGIT, DIV, DOUBLEQUOTE, DRAW, EOF, IDENTIFIER, LETTER, LPARA, MUL, NON_NEG_DOUBLE, NON_NEG_INTEGER, REPORT, RPARA, SEMICOLON, STREAMS, STRING_INTERNAL, SUB, tokenImage, YAXIS |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
token_source
public TelemetryLanguageParserImplTokenManager token_source
jj_input_stream
SimpleCharStream jj_input_stream
token
public Token token
jj_nt
public Token jj_nt
lookingAhead
public boolean lookingAhead
TelemetryLanguageParserImpl
public TelemetryLanguageParserImpl(java.io.InputStream stream)
TelemetryLanguageParserImpl
public TelemetryLanguageParserImpl(java.io.InputStream stream,
java.lang.String encoding)
TelemetryLanguageParserImpl
public TelemetryLanguageParserImpl(java.io.Reader stream)
TelemetryLanguageParserImpl
public TelemetryLanguageParserImpl(TelemetryLanguageParserImplTokenManager tm)
identifier
public final java.lang.String identifier()
throws ParseException
- Throws:
ParseException
string_constant
public final java.lang.String string_constant()
throws ParseException
- Throws:
ParseException
number_constant
public final java.lang.Number number_constant()
throws ParseException
- Throws:
ParseException
non_negative_number_constant
public final java.lang.Number non_negative_number_constant()
throws ParseException
- Throws:
ParseException
all_input
public final java.util.List all_input()
throws ParseException
- Throws:
ParseException
statements
public final java.util.List statements()
throws ParseException
- Throws:
ParseException
streams_statement_input
public final TelemetryStreamsDefinition streams_statement_input()
throws ParseException
- Throws:
ParseException
chart_statement_input
public final TelemetryChartDefinition chart_statement_input()
throws ParseException
- Throws:
ParseException
chart_y_axis_statement_input
public final TelemetryChartYAxisDefinition chart_y_axis_statement_input()
throws ParseException
- Throws:
ParseException
report_statement_input
public final TelemetryReportDefinition report_statement_input()
throws ParseException
- Throws:
ParseException
streams_statement
public final TelemetryStreamsDefinition streams_statement()
throws ParseException
- Throws:
ParseException
streams_description
public final java.lang.String streams_description()
throws ParseException
- Throws:
ParseException
streams_definition
public final Expression streams_definition()
throws ParseException
- Throws:
ParseException
chart_y_axis_statement
public final TelemetryChartYAxisDefinition chart_y_axis_statement()
throws ParseException
- Throws:
ParseException
chart_statement
public final TelemetryChartDefinition chart_statement()
throws ParseException
- Throws:
ParseException
chart_title
public final java.lang.String chart_title()
throws ParseException
- Throws:
ParseException
sub_charts
public final java.util.List sub_charts()
throws ParseException
- Throws:
ParseException
sub_chart_definition
public final TelemetryChartDefinition.SubChartDefinition sub_chart_definition()
throws ParseException
- Throws:
ParseException
streams_reference
public final StreamsReference streams_reference()
throws ParseException
- Throws:
ParseException
y_axis_reference
public final YAxisReference y_axis_reference()
throws ParseException
- Throws:
ParseException
report_statement
public final TelemetryReportDefinition report_statement()
throws ParseException
- Throws:
ParseException
report_title
public final java.lang.String report_title()
throws ParseException
- Throws:
ParseException
report_definition
public final java.util.List report_definition()
throws ParseException
- Throws:
ParseException
chart_reference
public final ChartReference chart_reference()
throws ParseException
- Throws:
ParseException
draw_command
public final DrawCommand draw_command()
throws ParseException
- Throws:
ParseException
expression
public final Expression expression()
throws ParseException
- Throws:
ParseException
additive_expression
public final Expression additive_expression()
throws ParseException
- Throws:
ParseException
multiplicative_expression
public final Expression multiplicative_expression()
throws ParseException
- Throws:
ParseException
unary_expression
public final Expression unary_expression()
throws ParseException
- Throws:
ParseException
call
public final Expression call()
throws ParseException
- Throws:
ParseException
parameters
public final Expression[] parameters()
throws ParseException
- Throws:
ParseException
parameter
public final Expression parameter()
throws ParseException
- Throws:
ParseException
variables
public final Variable[] variables()
throws ParseException
- Throws:
ParseException
constants
public final Constant[] constants()
throws ParseException
- Throws:
ParseException
variables_and_constants
public final Expression[] variables_and_constants()
throws ParseException
- Throws:
ParseException
ReInit
public void ReInit(java.io.InputStream stream)
ReInit
public void ReInit(java.io.InputStream stream,
java.lang.String encoding)
ReInit
public void ReInit(java.io.Reader stream)
ReInit
public void ReInit(TelemetryLanguageParserImplTokenManager tm)
getNextToken
public final Token getNextToken()
getToken
public final Token getToken(int index)
generateParseException
public ParseException generateParseException()
enable_tracing
public final void enable_tracing()
disable_tracing
public final void disable_tracing()