sleep.parser
Class CommentRule
copyRule, getLeft, getRight, getSyntaxError, getType, isBalanced, isLeft, isMatch, isRight, toString, witnessClose, witnessOpen, wrap |
isLeft
public boolean isLeft(char n)
- isLeft in interface Rule
isMatch
public boolean isMatch(char n)
- isMatch in interface Rule
isRight
public boolean isRight(char n)
- isRight in interface Rule
witnessClose
public void witnessClose(Token token)
Used to keep track of closing braces to check balance later on
- witnessClose in interface Rule
witnessOpen
public void witnessOpen(Token token)
Used to keep track of opening braces to check balance later on
- witnessOpen in interface Rule
wrap
public String wrap(String value)
- wrap in interface Rule