org.rythmengine.internal.parser.build_in
Class DirectiveCommentStartSensor

java.lang.Object
  extended by org.rythmengine.internal.parser.ParserBase
      extended by org.rythmengine.internal.parser.RemoveLeadingLineBreakAndSpacesParser
          extended by org.rythmengine.internal.parser.build_in.DirectiveCommentStartSensor
All Implemented Interfaces:
IParser, IRemoveLeadingLineBreakAndSpaces

public class DirectiveCommentStartSensor
extends RemoveLeadingLineBreakAndSpacesParser

Detect if a directive comment is reached and strip it out from the parsing process

For example when <!-- @> is found the <!-- should be stripped out


Field Summary
 
Fields inherited from class org.rythmengine.internal.parser.ParserBase
engine_, logger, NULL_INST
 
Constructor Summary
DirectiveCommentStartSensor(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

DirectiveCommentStartSensor

public DirectiveCommentStartSensor(IContext context)
Method Detail

go

public Token go()

main

public static void main(String[] args)


Copyright © 2014. All Rights Reserved.