|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pz.platypus.Command
org.pz.platypus.commandTypes.Command0
public class Command0
Command with no parameters
Field Summary |
---|
Fields inherited from class org.pz.platypus.Command |
---|
parameterType, root, rootSubstitute, validInCode |
Constructor Summary | |
---|---|
Command0(java.lang.String commandRoot,
char allowInCode)
|
Method Summary | |
---|---|
int |
process(GDD gdd,
ParseContext context,
TokenList tl,
boolean inCode)
Processes the command and returns the number of chars in the lexeme. |
Methods inherited from class org.pz.platypus.Command |
---|
getParamType, getRoot, getRootSubstitute, isAllowedInCode, notExecutedInCodeSection, process |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Command0(java.lang.String commandRoot, char allowInCode)
Method Detail |
---|
public int process(GDD gdd, ParseContext context, TokenList tl, boolean inCode)
gdd
- GDDtl
- TokenList to which the generated tokens are addedinCode
- Are we currently in a code section?context
- the parsing context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |