|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICommand
Interface for individual commands as stored in the command look-up table.
Method Summary | |
---|---|
ParamType |
getParamType()
what kind of argument, if any, does the command take? |
java.lang.String |
getRoot()
get the root of the command. |
java.lang.String |
getRootSubstitute()
get a substitute string for the root. |
boolean |
isAllowedInCode()
Is this command processed or ignored in a code listing? |
int |
process(GDD gdd,
ParseContext context,
TokenList tokens,
boolean inCode)
method for processing this command. |
Method Detail |
---|
java.lang.String getRoot()
java.lang.String getRootSubstitute()
ParamType getParamType()
boolean isAllowedInCode()
int process(GDD gdd, ParseContext context, TokenList tokens, boolean inCode)
gdd
- the GDDcontext
- the parsing contexttokens
- TokenList to which the generated tokens are addedinCode
- Are we currently in a code section?
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |