protected class Compiler.Phase_parser extends Compiler.Phase
abbrev, currentOptionElement, name, option_qualifiervalidating| Modifier | Constructor and Description |
|---|---|
protected |
Phase_parser() |
| Modifier and Type | Method and Description |
|---|---|
void |
makeNoArgSwitch()
Add to the growing code the call to a parser for an option with no argument,
= of "switch" or "flag" type.
|
protected void |
makeparsercall(String fun)
Compile one parse-call statement for one argument type to the global
result array.
|
void |
translate(Element_optionlist olist)
Entry method, reset registers and descend.
|
void |
visit(Element_bool el)
Add to the growing code the call to a parser for an argument of boolean type.
|
void |
visit(Element_enum el)
Add to the growing code the call to a parser for an argument of an enumeration type.
|
void |
visit(Element_enumset el)
Add to the growing code the call to a parser for an argument of enum set type.
|
void |
visit(Element_float el)
Add to the growing code the call to a parser for an argument of float type.
|
void |
visit(Element_int el)
Add to the growing code the call to a parser for an argument of integer type.
|
void |
visit(Element_option element)
Create a parsing method for the option under visitation.
|
void |
visit(Element_rat el)
Add to the growing code the call to a parser for an argument of Rational type.
|
void |
visit(Element_rep el)
Add to the growing code the call to the parser of the repeting group.
|
void |
visit(Element_string el)
Add to the growing code the call to a parser for an argument of string type.
|
void |
visit(Element_uri el)
Add to the growing code the call to a parser for an argument of uri/file name type.
|
bothtags_formatted, bothtags, ERROR, longestname, longesttag, shortestname, shortesttag, WARNINGvisit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visitvisitpublic void translate(Element_optionlist olist)
public void visit(Element_option element)
visit in class Compiler.Phaseprotected void makeparsercall(String fun)
public void visit(Element_int el)
public void visit(Element_float el)
public void visit(Element_rat el)
public void makeNoArgSwitch()
public void visit(Element_bool el)
public void visit(Element_string el)
public void visit(Element_uri el)
public void visit(Element_enum el)
public void visit(Element_enumset el)
public void visit(Element_rep el)
see also the complete user documentation .