org.rythmengine.internal.parser
Class ParserDispatcher

java.lang.Object
  extended by org.rythmengine.internal.parser.ParserBase
      extended by org.rythmengine.internal.parser.ParserDispatcher
All Implemented Interfaces:
IParser

public class ParserDispatcher
extends ParserBase

BuildInParserDispatcher test remaining template content and try to find the build in parser which is interested to the next build in keyword. If one is found then the parse process is passed to it. Otherwise null token is returned

Author:
luog

Field Summary
 
Fields inherited from class org.rythmengine.internal.parser.ParserBase
engine_, logger, NULL_INST
 
Constructor Summary
ParserDispatcher(IContext context)
           
 
Method Summary
 Token go()
           
 F.T2<IParser,Token> go2()
           
 
Methods inherited from class org.rythmengine.internal.parser.ParserBase
a, builder, checkRestrictedClass, ctx, currentLine, dialect, isLastBuilderLiteral, p, p, p, p, p, pattern, peek, pop, processFollowingOpenBraceAndLineBreak, raiseParseException, remain, step
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParserDispatcher

public ParserDispatcher(IContext context)
Method Detail

go2

public F.T2<IParser,Token> go2()

go

public Token go()


Copyright © 2014. All Rights Reserved.