Package gw.lang.parser
Interface IParserPart
- All Known Subinterfaces:
IGosuClassParser,IGosuParser
- All Known Implementing Classes:
GosuClassParser,GosuParser,ParserBase
public interface IParserPart
-
Method Summary
Modifier and TypeMethodDescriptionstatic ITokeneatBlock(char cBegin, char cEnd, boolean bOperator, boolean bStopAtDeclarationKeyword, ISourceCodeTokenizer tokenizer) static ITokeneatBlock(char cBegin, char cEnd, boolean bOperator, ISourceCodeTokenizer tokenizer) intintgetOwner()booleanstatic booleanmatch(IToken T, String strToken, int iType, boolean bPeek, ISourceCodeTokenizer tokenizer) static booleanmatchDeclarationKeyword(String[] ret, boolean bPeek, ISourceCodeTokenizer tokenizer) voidsetDontOptimizeStatementLists(boolean dontOptimizeStatementLists) voidsetLineNumShift(int lineNumShift) voidsetValidator(IGosuValidator validator)
-
Method Details
-
getOwner
IGosuParser getOwner() -
setDontOptimizeStatementLists
void setDontOptimizeStatementLists(boolean dontOptimizeStatementLists) -
isDontOptimizeStatementLists
boolean isDontOptimizeStatementLists() -
setValidator
-
setLineNumShift
void setLineNumShift(int lineNumShift) -
getLineNumShift
int getLineNumShift() -
getOffsetShift
int getOffsetShift() -
eatBlock
-
eatBlock
static IToken eatBlock(char cBegin, char cEnd, boolean bOperator, boolean bStopAtDeclarationKeyword, ISourceCodeTokenizer tokenizer) -
match
static boolean match(IToken T, String strToken, int iType, boolean bPeek, ISourceCodeTokenizer tokenizer) -
matchDeclarationKeyword
-