public interface Statement
Modifier and Type | Interface and Description |
---|---|
static interface |
Statement.ArgsBuilder |
static interface |
Statement.CompoundRule |
static interface |
Statement.ConditionalRule |
static interface |
Statement.Rule |
static interface |
Statement.StatementBuilder |
static interface |
Statement.StatementContext |
static interface |
Statement.SwichTokenRule |
java.lang.String getName()
Statement addRule(Statement.Rule rule)
Statement.Rule require_any_token(java.lang.String... token)
Statement.CompoundRule repeat_until_any_tokens(java.lang.String... token)
Statement.CompoundRule repeat()
Statement.Rule require_tokens(java.lang.String... token)
Statement.Rule require_identifier()
Statement.Rule require_identifiers(java.lang.String sep)
Statement.Rule require_identifiers_as_string(java.lang.String sep)
Statement.Rule require_literal_string()
Statement.Rule set_expression(java.lang.String id, java.lang.Object value)
Statement.Rule require_expression()
Statement.Rule require_expression(boolean allow_assignement)
Statement.Rule require_expressions(java.lang.String separator)
Statement.Rule require_expressions(java.lang.String separator, java.lang.String... terminationTokens)
Statement.Rule break_loop()
Statement.Rule fail()
Statement.SwichTokenRule switch_token()
Statement.ConditionalRule optional_any_token(java.lang.String... id)
Statement.ConditionalRule optional_identifiers(java.lang.String separator)
Statement.ConditionalRule optional_literal_string()
Statement.ConditionalRule optional_expression()
Statement.ConditionalRule if_compatibility_contains(java.lang.String compatid, java.lang.String expected)
Statement.ArgsBuilder args_names(java.lang.String... args)
Statement.ArgsBuilder fixed_args_names(java.lang.String... args)
Statement.ArgsBuilder args_expand(java.lang.String... args)
void code(java.lang.String id, Statement.ArgsBuilder argsBuilder)
void builder(Statement.StatementBuilder stmtBuilder)
Code parse(Statement.StatementContext context)
boolean isApplicable(Statement.StatementContext context)