org.rythmengine.internal.parser.build_in
Class CodeTypeBlockEndSensor

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

public class CodeTypeBlockEndSensor
extends ParserBase

Detect if a type block is ended put instruction in template java source to switch back type context

For example when </script> is reached a instruction popCodeType() should be put in place


Field Summary
 
Fields inherited from class org.rythmengine.internal.parser.ParserBase
engine_, logger, NULL_INST
 
Constructor Summary
CodeTypeBlockEndSensor(IContext context)
           
 
Method Summary
 Token go()
           
 
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

CodeTypeBlockEndSensor

public CodeTypeBlockEndSensor(IContext context)
Method Detail

go

public Token go()


Copyright © 2014. All Rights Reserved.