|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pz.platypus.parsers.LineCommentParser
public class LineCommentParser
Parser that recognizes a line comment. Note: sole method is static.
Constructor Summary | |
---|---|
LineCommentParser()
|
Method Summary | |
---|---|
static boolean |
isLineComment(java.lang.String line,
java.lang.String closingBlockCommentSymbol)
Static method that determines whether a line is a line comment; that is, one whose first non-whitespace characters are %%. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LineCommentParser()
Method Detail |
---|
public static boolean isLineComment(java.lang.String line, java.lang.String closingBlockCommentSymbol) throws java.lang.IllegalArgumentException
line
- line to isLineComment for line commentclosingBlockCommentSymbol
- null if we're not in a block comment; the symbol, if we are.
java.lang.IllegalArgumentException
- if passed a null line
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |