Package gw.lang.parser
Interface IParserPart
-
- All Known Subinterfaces:
IGosuClassParser
,IGosuParser
- All Known Implementing Classes:
GosuClassParser
,GosuParser
,ParserBase
public interface IParserPart
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static IToken
eatBlock(char cBegin, char cEnd, boolean bOperator, boolean bStopAtDeclarationKeyword, ISourceCodeTokenizer tokenizer)
static IToken
eatBlock(char cBegin, char cEnd, boolean bOperator, ISourceCodeTokenizer tokenizer)
int
getLineNumShift()
int
getOffsetShift()
IGosuParser
getOwner()
boolean
isDontOptimizeStatementLists()
static boolean
match(IToken T, String strToken, int iType, boolean bPeek, ISourceCodeTokenizer tokenizer)
static boolean
matchDeclarationKeyword(String[] ret, boolean bPeek, ISourceCodeTokenizer tokenizer)
void
setDontOptimizeStatementLists(boolean dontOptimizeStatementLists)
void
setLineNumShift(int lineNumShift)
void
setValidator(IGosuValidator validator)
-
-
-
Method Detail
-
getOwner
IGosuParser getOwner()
-
setDontOptimizeStatementLists
void setDontOptimizeStatementLists(boolean dontOptimizeStatementLists)
-
isDontOptimizeStatementLists
boolean isDontOptimizeStatementLists()
-
setValidator
void setValidator(IGosuValidator validator)
-
setLineNumShift
void setLineNumShift(int lineNumShift)
-
getLineNumShift
int getLineNumShift()
-
getOffsetShift
int getOffsetShift()
-
eatBlock
static IToken eatBlock(char cBegin, char cEnd, boolean bOperator, ISourceCodeTokenizer tokenizer)
-
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
static boolean matchDeclarationKeyword(String[] ret, boolean bPeek, ISourceCodeTokenizer tokenizer)
-
-