public static class CheaderParser.Value extends CheaderParser.ValueEntry
value
is syntactically an expression. It is designated as value
in the Cheader.zbnf syntax definition
in opposite to usual naming because it is semantically a value
. The ZBNF forces the semantic aspect of parsing.Modifier and Type | Field and Description |
---|---|
java.lang.String |
conditionDef |
java.util.List<CheaderParser.ValueEntry> |
entries |
(package private) CheaderParser.ValueEntry |
entry1
The current entry used for some post-information.
|
java.lang.String |
simpleStringLiteral |
java.lang.String |
unaryOperator
That is parsed before the next entry, use and remove it on entry.
|
CheaderParser.Value |
value_false
Expressions for true and false in an construct
condition ? |
CheaderParser.Value |
value_true
Expressions for true and false in an construct
condition ? |
data, whatisit
public java.util.List<CheaderParser.ValueEntry> entries
CheaderParser.ValueEntry entry1
public java.lang.String unaryOperator
public java.lang.String simpleStringLiteral
public CheaderParser.Value value_true
condition ? value_true : value_false
the condition is this value itself with its entries.public CheaderParser.Value value_false
condition ? value_true : value_false
the condition is this value itself with its entries.public java.lang.String conditionDef
public void set_variable(java.lang.String val)
public CheaderParser.Variable new_variable()
public void add_variable(CheaderParser.Variable val)
public CheaderParser.Value new_value()
public void add_value(CheaderParser.Value val)
public CheaderParser.Value new_referenceAddress()
public void add_referenceAddress(CheaderParser.Value val)
public CheaderParser.Assignment new_assignment()
public void add_assignment(CheaderParser.Assignment val)
public CheaderParser.RefCastingValue new_refCastingValue()
public void add_refCastingValue(CheaderParser.RefCastingValue val)
public void set_simpleCharLiteral(java.lang.String chars)
chars
- public CheaderParser.Number set_number(int val)
public CheaderParser.Number set_floatNumber(int val)
public void set_floatModifier(java.lang.String val)
public void set_longModifier(java.lang.String val)
public CheaderParser.Number new_number()
public void add_number(CheaderParser.Number val)
public CheaderParser.MethodCall new_methodCall()
public void add_methodCall(CheaderParser.MethodCall val)
public void set_conditionDef(java.lang.String arg)
public void set_binaryOperator(java.lang.String val)