org.rythmengine.internal.parser.build_in
Class DirectiveCommentStartSensor
java.lang.Object
org.rythmengine.internal.parser.ParserBase
org.rythmengine.internal.parser.RemoveLeadingLineBreakAndSpacesParser
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
| 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 |
DirectiveCommentStartSensor
public DirectiveCommentStartSensor(IContext context)
go
public Token go()
main
public static void main(String[] args)
Copyright © 2014. All Rights Reserved.