|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AbcLexer
The interface implemented by abc's lexer, exposing some additional functionality to allow for extensibility.
| Method Summary | |
|---|---|
void |
addAspectJContextKeyword(java.lang.String keyword,
LexerAction ka)
Adds a keyword with the specified action to the ASPECTJ and POINTCUTIFEXPR lexer states. |
void |
addAspectJKeyword(java.lang.String keyword,
LexerAction ka)
Adds a keyword with the specified action to the ASPECTJ lexer state. |
void |
addGlobalKeyword(java.lang.String keyword,
LexerAction ka)
Adds a keyword with the specified action to all four lexer states. |
void |
addJavaKeyword(java.lang.String keyword,
LexerAction ka)
Adds a keyword with the specified action to the JAVA lexer state. |
void |
addPointcutIfExprKeyword(java.lang.String keyword,
LexerAction ka)
Adds a keyword with the specified action to the POINTCUTIFEXPR lexer state. |
void |
addPointcutKeyword(java.lang.String keyword,
LexerAction ka)
Adds a keyword with the specified action to the POINTCUT lexer state. |
int |
aspectj_state()
Returns the integer constant representing the ASPECTJ lexer state. |
int |
currentState()
Obtain the integer constant representing the current state of the lexer. |
void |
enterLexerState(int state)
Makes the lexer change into the specified state, pushing the current state and some state-specific information onto its internal stack. |
boolean |
getLastTokenWasDot()
Indicates whether the last token consumed was a dot. |
int |
java_state()
Returns the integer constant representing the JAVA lexer state. |
int |
pointcut_state()
Returns the integer constant representing the POINTCUT lexer state. |
int |
pointcutifexpr_state()
Returns the integer constant representing the POINTCUTIFEXPR lexer state. |
void |
setInPerPointcut(boolean b)
Indicate whether or not the lexer is currently examining a "per-pointcut". |
| Method Detail |
|---|
int java_state()
int aspectj_state()
int pointcut_state()
int pointcutifexpr_state()
void enterLexerState(int state)
state -
void addJavaKeyword(java.lang.String keyword,
LexerAction ka)
keyword - the keyword to be addedka - the action to be performed.
void addAspectJKeyword(java.lang.String keyword,
LexerAction ka)
keyword - the keyword to be addedka - the action to be performed.
void addPointcutKeyword(java.lang.String keyword,
LexerAction ka)
keyword - the keyword to be addedka - the action to be performed.
void addPointcutIfExprKeyword(java.lang.String keyword,
LexerAction ka)
keyword - the keyword to be addedka - the action to be performed.
void addGlobalKeyword(java.lang.String keyword,
LexerAction ka)
keyword - the keyword to be addedka - the action to be performed.
void addAspectJContextKeyword(java.lang.String keyword,
LexerAction ka)
keyword - the keyword to be addedka - the action to be performed.void setInPerPointcut(boolean b)
int currentState()
boolean getLastTokenWasDot()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||