abc.aspectj.parse
Class PerClauseLexerAction_c

java.lang.Object
  extended by abc.aspectj.parse.LexerAction_c
      extended by abc.aspectj.parse.PerClauseLexerAction_c
All Implemented Interfaces:
LexerAction

public class PerClauseLexerAction_c
extends LexerAction_c

Defines the handling of "per-pointcut" keywords.

Author:
Pavel Avgustinov

Field Summary
 
Fields inherited from class abc.aspectj.parse.LexerAction_c
nextState, token
 
Constructor Summary
PerClauseLexerAction_c(java.lang.Integer t)
           
PerClauseLexerAction_c(java.lang.Integer t, java.lang.Integer s)
           
 
Method Summary
 int getToken(AbcLexer lexer)
          This function is called when the keyword that is associated with this action is encountered in the lexer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerClauseLexerAction_c

public PerClauseLexerAction_c(java.lang.Integer t)

PerClauseLexerAction_c

public PerClauseLexerAction_c(java.lang.Integer t,
                              java.lang.Integer s)
Method Detail

getToken

public int getToken(AbcLexer lexer)
Description copied from interface: LexerAction
This function is called when the keyword that is associated with this action is encountered in the lexer. In order to be useful, it should probably make use of some of Lexer_c's public members to produce the necessary side-effects.

Specified by:
getToken in interface LexerAction
Overrides:
getToken in class LexerAction_c
Parameters:
lexer - The lexer object that the action should apply to. It is used for the calls that produce side-effects.
Returns:
The token that should be passed on to the parser, as defined in aspectj.ppg or similar files from extensions to abc.