Class OpelParser

  • All Implemented Interfaces:
    org.parboiled.ContextAware<pl.allegro.tech.opel.OpelNode>

    public class OpelParser
    extends org.parboiled.BaseParser<pl.allegro.tech.opel.OpelNode>
    • Field Summary

      • Fields inherited from class org.parboiled.BaseParser

        ANY, DEDENT, EMPTY, EOI, INDENT, NOTHING
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected pl.allegro.tech.opel.OpelNode binaryOperation​(pl.allegro.tech.opel.Operator operator)  
      protected java.lang.String escapeString​(java.lang.String string)  
      protected org.parboiled.Rule fromStringLiteral​(java.lang.String string)  
      protected pl.allegro.tech.opel.OpelNode namedValueNode​(pl.allegro.tech.opel.OpelNode valueIdentifierNode)  
      • Methods inherited from class org.parboiled.BaseParser

        ACTION, AnyOf, AnyOf, AnyOf, Ch, CharRange, FirstOf, FirstOf, fromCharArray, fromCharLiteral, IgnoreCase, IgnoreCase, IgnoreCase, newInstance, NoneOf, NoneOf, NTimes, NTimes, OneOrMore, OneOrMore, Optional, Optional, Sequence, Sequence, String, String, Test, Test, TestNot, TestNot, toRule, toRules, ZeroOrMore, ZeroOrMore
      • Methods inherited from class org.parboiled.BaseActions

        currentChar, currentIndex, drop, drop, dup, getContext, hasError, inPredicate, match, matchedChar, matchEnd, matchLength, matchOrDefault, matchRange, matchStart, nodeSuppressed, peek, peek, poke, poke, pop, pop, position, push, push, pushAll, setContext, swap, swap3, swap4, swap5, swap6
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • fromStringLiteral

        protected org.parboiled.Rule fromStringLiteral​(java.lang.String string)
        Overrides:
        fromStringLiteral in class org.parboiled.BaseParser<pl.allegro.tech.opel.OpelNode>
      • escapeString

        protected java.lang.String escapeString​(java.lang.String string)
      • binaryOperation

        protected pl.allegro.tech.opel.OpelNode binaryOperation​(pl.allegro.tech.opel.Operator operator)
      • namedValueNode

        protected pl.allegro.tech.opel.OpelNode namedValueNode​(pl.allegro.tech.opel.OpelNode valueIdentifierNode)