@Rules({ @Rule({"'\\\\'", "characterClass"}), @Rule({"'\\\\'", "'p'", "posixCharacterClass"}) }) protected RangeSet charRange(RangeSet rs) { return rs; } @Rules({
@Rules( { @Rule("predicate"), @Rule("booleanPredicate") }) protected Condition booleanPrimary(Condition predicate) { return predicate; }
@Rules({ @Rule({"'\\\\'", "'P'", "posixCharacterClass"}) }) protected RangeSet negativeCharRange(RangeSet rs) { return rs.complement(); } @Rule({"character", "'\\-'", "character"})
@Rules({ @Rule({"'\\\\'", "escaped"}), @Rule("notRegexControl") }) protected int character(int cc) { return cc; } @Rules({
@Rules({ @Rule("symbolName"), @Rule("anonymousTerminal") }) protected String symbol(String name) { return name; }
@Rules({ @Rule("symbolName"), @Rule("anonymousTerminal") }) protected String symbol(String name) { return name; }
@Rules({ @Rule("symbolName"), @Rule("anonymousTerminal") }) protected String symbol(String name) { return name; }
@Rules({ @Rule("west"), @Rule("east") }) protected abstract int we(int sign);
@Rules( { @Rule("fromSubQuery"), @Rule("fromConstructor") //@Rule("fromDefault"), }) protected abstract InsertColumnsAndSource<R, C> insertColumnsAndSource(InsertColumnsAndSource<R, C> insertColumnsAndSource);
@Rules({ @Rule, @Rule({"bnf", "rule"}) }) protected void bnf() { }
@Rules( { @Rule("trueL"), @Rule("falseL"), @Rule("unknown") }) protected TruthValue truthValue(TruthValue tvl) { return tvl; }
@Rules({ @Rule("charRange"), @Rule("rangeDef"), @Rule("boundaryMatcher") }) protected RangeSet atom(RangeSet rs) { return rs; } @Rule({"'\\['", "rs1", "'\\]'"})
@Rules({ @Rule("charRange"), @Rule("negativeCharRange"), @Rule("dashRange") }) protected RangeSet rangeListEntry(RangeSet rs) { return rs; } @Rule({"'\\.'"})
@Rules({ @Rule({"rhs", "literal"}), @Rule({"rhs", "delimiter"}) }) protected List<String> rhs( List<String> rhs, String literal, @ParserContext("GRAMMAR") Grammar grammar) { rhs.add(Regex.escape(literal)); return rhs; } @Rule(left="rhs", value={"rhs", "tG"})
@Rules({ @Rule("rfc822String1"), @Rule("rfc822String2"), @Rule("rfc822String3"), @Rule("rfc822String4") }) protected void rfc822(int offset, @ParserContext Calendar cal) { cal.set(Calendar.ZONE_OFFSET, offset); }
@Rules({ @Rule("rfc822String1"), @Rule("rfc822String2"), @Rule("rfc822String3"), @Rule("rfc822String4") }) protected void rfc822(int offset, @ParserContext Calendar cal) { cal.set(Calendar.ZONE_OFFSET, offset); }
@Rules({ @Rule("posRange"), @Rule("negRange"), @Rule("inclusiveRange"), @Rule("intersectRange") }) protected RangeSet rs1(RangeSet rs) { return rs; } @Rule({"rangeList"})
@Rules( { @Rule("integer"), @Rule("decimal") }) protected Literal<R, C> literal(Number number, @ParserContext("engine") Engine<R, C> engine) { return new LiteralImpl<>(engine.convert(number)); }
@Rules( { @Rule("comparisonPredicate"), @Rule("betweenPredicate"), @Rule("inPredicate"), @Rule("likePredicate"), @Rule("nullPredicate") }) protected abstract Condition predicate(Condition predicate);
@Rules( { @Rule("beginWork"), @Rule("commitWork"), @Rule("rollbackWork"), @Rule("updateStatementSearched"), @Rule("deleteStatementSearched"), @Rule("insertStatement"), @Rule("querySpecification"), @Rule("showSpecification"), @Rule("describeSpecification") }) protected abstract Statement<R, C> statement(Statement<R, C> statement);