com.lyncode.jtwig.parser
Class JtwigBasicParser

java.lang.Object
  extended by org.parboiled.BaseActions<V>
      extended by org.parboiled.BaseParser<String>
          extended by com.lyncode.jtwig.parser.JtwigBasicParser
All Implemented Interfaces:
org.parboiled.ContextAware<String>

public class JtwigBasicParser
extends org.parboiled.BaseParser<String>


Field Summary
 
Fields inherited from class org.parboiled.BaseParser
ANY, DEDENT, EMPTY, EOI, INDENT, NOTHING
 
Constructor Summary
JtwigBasicParser()
           
 
Method Summary
 org.parboiled.Rule anyKeyword()
           
 org.parboiled.Rule closeCode()
           
 org.parboiled.Rule identifier()
           
 org.parboiled.Rule keyword(JtwigKeyword keyword)
           
 org.parboiled.Rule onlyOneChar()
           
 org.parboiled.Rule openCode()
           
 org.parboiled.Rule spacing()
           
protected  org.parboiled.Rule stringLiteral()
          Pushes the String (without quotes)
 org.parboiled.Rule symbol(JtwigSymbol symbol)
           
 
Methods inherited from class org.parboiled.BaseParser
ACTION, AnyOf, AnyOf, AnyOf, Ch, CharRange, FirstOf, FirstOf, fromCharArray, fromCharLiteral, fromStringLiteral, 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
 

Constructor Detail

JtwigBasicParser

public JtwigBasicParser()
Method Detail

spacing

public org.parboiled.Rule spacing()

closeCode

public org.parboiled.Rule closeCode()

openCode

public org.parboiled.Rule openCode()

anyKeyword

public org.parboiled.Rule anyKeyword()

identifier

public org.parboiled.Rule identifier()

keyword

public org.parboiled.Rule keyword(JtwigKeyword keyword)

symbol

public org.parboiled.Rule symbol(JtwigSymbol symbol)

onlyOneChar

public org.parboiled.Rule onlyOneChar()

stringLiteral

protected org.parboiled.Rule stringLiteral()
Pushes the String (without quotes)

Returns:


Copyright © 2014. All Rights Reserved.