public interface NumberValue extends LiteralValueReference
The following features are supported:
PatternLanguagePackage.getNumberValue()| Modifier and Type | Method and Description |
|---|---|
org.eclipse.xtext.xbase.XNumberLiteral |
getValue()
Returns the value of the 'Value' containment reference.
|
boolean |
isNegative()
Returns the value of the 'Negative' attribute.
|
void |
setNegative(boolean value)
Sets the value of the '
Negative' attribute. |
void |
setValue(org.eclipse.xtext.xbase.XNumberLiteral value)
Sets the value of the '
Value' containment reference. |
java.lang.String |
toString() |
org.eclipse.xtext.xbase.XNumberLiteral getValue()
If the meaning of the 'Value' containment reference isn't clear, there really should be more of a description here...
setValue(XNumberLiteral),
PatternLanguagePackage.getNumberValue_Value()void setValue(org.eclipse.xtext.xbase.XNumberLiteral value)
Value' containment reference.
value - the new value of the 'Value' containment reference.getValue()boolean isNegative()
"false".
If the meaning of the 'Negative' attribute isn't clear, there really should be more of a description here...
setNegative(boolean),
PatternLanguagePackage.getNumberValue_Negative()void setNegative(boolean value)
Negative' attribute.
value - the new value of the 'Negative' attribute.isNegative()java.lang.String toString()
toString in interface ExpressiontoString in interface LiteralValueReferencetoString in interface ValueReferencetoString in class java.lang.Object