org.rythmengine.internal.parser.build_in
Class CodeTypeBlockStartSensor

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

public class CodeTypeBlockStartSensor
extends ParserBase

Detect if a code type block is reached and put instruction in template java source to switch code type context

For example when <script > is reached a instruction pushCodeType(ICodeType type) should be put in place


Field Summary
 
Fields inherited from class org.rythmengine.internal.parser.ParserBase
engine_, logger, NULL_INST
 
Constructor Summary
CodeTypeBlockStartSensor(IContext context)
           
 
Method Summary
 Token go()
           
static void main(String[] args)
           
 
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

CodeTypeBlockStartSensor

public CodeTypeBlockStartSensor(IContext context)
Method Detail

go

public Token go()

main

public static void main(String[] args)


Copyright © 2014. All Rights Reserved.