public class Reference extends Expression
Modifier and Type | Field and Description |
---|---|
static Function<Reference,Boolean> |
get_isImplicit
Deprecated.
Use new '::' method reference instead.
|
static Function<Reference,Definition> |
get_resolved
Deprecated.
Use new '::' method reference instead.
|
static Function<Reference,String> |
get_sourceText
Deprecated.
Use new '::' method reference instead.
|
protected boolean |
isImplicit
Generated by umod; model author's documentation MISSING.
|
protected Definition |
resolved
Generated by umod; model author's documentation MISSING.
|
protected String |
sourceText
Generated by umod; model author's documentation MISSING.
|
canProduceEpsilon, EMPTY, firsts, get_canProduceEpsilon, get_firsts, get_weakfirsts, NONE, PCDATA, weakfirsts
get_location, location
format
Constructor and Description |
---|
Reference(Location<XMLDocumentIdentifier> location,
String sourceText)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
Reference(String sourceText)
Synthetic minimal constructor provided by the umod compiler.
|
Modifier and Type | Method and Description |
---|---|
Reference |
doclone()
Clones this object.
|
boolean |
equals(Object o) |
Format |
format()
Delivers a format object for pretty-printing, as specified in the umod source.
|
boolean |
get_isImplicit()
Generated by umod; model author's documentation MISSING.
|
Definition |
get_resolved()
Generated by umod; model author's documentation MISSING.
|
String |
get_sourceText()
Generated by umod; model author's documentation MISSING.
|
static String |
getFormatHint()
Delivers the format specification from the umod source.
|
Reference |
initFrom(Object o0)
Copies values of all common fields from the argument.
|
boolean |
set_isImplicit(boolean val)
Generated by umod; model author's documentation MISSING.
|
boolean |
set_resolved(Definition val)
Generated by umod; model author's documentation MISSING.
|
boolean |
set_sourceText(String val)
Generated by umod; model author's documentation MISSING.
|
descend_firsts, descend_weakfirsts, get_canProduceEpsilon, get_firsts, get_weakfirsts, set_canProduceEpsilon, set_firsts, set_weakfirsts
get_location, set_location
protected String sourceText
get_sourceText()
,
set_sourceText(java.lang.String)
@Deprecated public static final Function<Reference,String> get_sourceText
protected boolean isImplicit
get_isImplicit()
,
set_isImplicit(boolean)
@Deprecated public static final Function<Reference,Boolean> get_isImplicit
protected Definition resolved
Definition
(maybe null)@Deprecated public static final Function<Reference,Definition> get_resolved
public Reference(Location<XMLDocumentIdentifier> location, String sourceText)
location
- is copied to field Expr0.location
sourceText
- is copied to field sourceText
public Reference(String sourceText)
sourceText
- is copied to field sourceText
public Reference doclone()
Cloneable
is known to
be implemented.doclone
in class Expression
public static String getFormatHint()
$switch
isImplicit{true:'#implicit' }$switch
$mode{0:sourceText,1:sourceText'(='resolved')'}
public Format format()
format
in interface Formattable
format
in class Expression
public Reference initFrom(Object o0)
initFrom
in class Expression
public String get_sourceText()
public boolean set_sourceText(String val)
val
- the new value of type java.lang.String(never null)sourceText
public boolean get_isImplicit()
public boolean set_isImplicit(boolean val)
val
- the new value of type boolean(never null)isImplicit
public Definition get_resolved()
Definition
(maybe
null)public boolean set_resolved(Definition val)
val
- the new value of type Definition
(maybe null)resolved
see also the complete user documentation .