| java.lang.Object xtc.lang.CParserState xtc.lang.c4.C4ParserState
C4ParserState | public class C4ParserState extends CParserState (Code) | | State for parsing C4.
author: Marco Yuen version: $Revision: 1.2 $ |
Field Summary | |
final public static int | FLAG_ADVICE The flag for indicating the current context is inside an advice. |
Method Summary | |
public void | bind(String id) Bind the specified identifier. | public boolean | isType(String id) Determine whether the specified identifier names a type.
Parameters: id - The identifier. | public void | setAdvice(String aspectName) Set the FLAG_ADVICE flag and current aspectName in the current context. |
FLAG_ADVICE | final public static int FLAG_ADVICE(Code) | | The flag for indicating the current context is inside an advice.
|
C4ParserState | public C4ParserState()(Code) | | |
bind | public void bind(String id)(Code) | | Bind the specified identifier. Depending on the current parsing
context, the identifier is either bound as a type or as an
object/function/constant.
Parameters: id - The identifier. |
isType | public boolean isType(String id)(Code) | | Determine whether the specified identifier names a type.
Parameters: id - The identifier. true if the specified identifier names a type. |
setAdvice | public void setAdvice(String aspectName)(Code) | | Set the FLAG_ADVICE flag and current aspectName in the current context.
Parameters: aspectName - The name of the current aspect |
|
|