public static class LLJava.StringLiteral extends LLJava.Literal
String
literal. Modifier and Type | Field and Description |
---|---|
protected LLJava.ConstantString |
entry
Generated by umod; model author's documentation MISSING.
|
protected String |
value
Generated by umod; model author's documentation MISSING.
|
location
format
Constructor and Description |
---|
StringLiteral(String value)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
Modifier and Type | Method and Description |
---|---|
LLJava.StringLiteral |
doclone()
Clones this object.
|
Format |
format()
Delivers a format object for pretty-printing, as specified in the umod source.
|
LLJava.ConstantString |
get_entry()
Generated by umod; model author's documentation MISSING.
|
String |
get_value()
Generated by umod; model author's documentation MISSING.
|
static Pattern<LLJava.StringLiteral> |
get_value(Pattern<? super String> p)
Lifts a pattern which matches the field value to one which matches this
whole object.
|
static String |
getFormatHint()
Delivers the format specification from the umod source.
|
LLJava.StringLiteral |
initFrom(Object o0)
Copies values of all common fields from the argument.
|
boolean |
set_entry(LLJava.Loadable val)
Generated by umod; model author's documentation MISSING.
|
boolean |
set_value(String val)
Generated by umod; model author's documentation MISSING.
|
get_entry
get_location, get_location, set_location
protected String value
String
(never
null)get_value()
,
set_value(java.lang.String)
protected LLJava.ConstantString entry
LLJava.ConstantString
(maybe
null)public LLJava.StringLiteral doclone()
Cloneable
is known
to be implemented.doclone
in class LLJava.Literal
public static String getFormatHint()
value{$java
'FormatUtils.literal'}
public Format format()
format
in interface Formattable
format
in class LLJava.Literal
public LLJava.StringLiteral initFrom(Object o0)
initFrom
in class LLJava.Literal
public String get_value()
String
(never
null)public boolean set_value(String val)
public LLJava.ConstantString get_entry()
get_entry
in class LLJava.LoadableExpr
LLJava.ConstantString
(maybe
null)public boolean set_entry(LLJava.Loadable val)
val
- the new value of type LLJava.ConstantString
(maybe
null)entry
public static Pattern<LLJava.StringLiteral> get_value(Pattern<? super String> p)
LLJava.__Patterns
.see also the complete user documentation .