public static class LLJava.Local extends LLJava.Statement
Modifier and Type | Field and Description |
---|---|
protected LLJava.Name |
name
Generated by umod; model author's documentation MISSING.
|
protected LLJava.TypeExpr |
type
Generated by umod; model author's documentation MISSING.
|
protected LLJava.Variable |
variable
The variable declared by this statement.
|
location
format
Constructor and Description |
---|
Local(LLJava.TypeExpr type)
Synthetic minimal constructor provided by the umod compiler.
|
Local(LLJava.TypeExpr type,
LLJava.Name name)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
Modifier and Type | Method and Description |
---|---|
LLJava.Local |
doclone()
Clones this object.
|
Format |
format()
Delivers a format object for pretty-printing, as specified in the umod source.
|
LLJava.Name |
get_name()
Generated by umod; model author's documentation MISSING.
|
static Pattern<LLJava.Local> |
get_name(Pattern<? super LLJava.Name> p)
Lifts a pattern which matches the field value to one which matches this
whole object.
|
LLJava.TypeExpr |
get_type()
Generated by umod; model author's documentation MISSING.
|
static Pattern<LLJava.Local> |
get_type(Pattern<? super LLJava.TypeExpr> p)
Lifts a pattern which matches the field value to one which matches this
whole object.
|
LLJava.Variable |
get_variable()
The variable declared by this statement.
|
static Pattern<LLJava.Local> |
get_variable(Pattern<? super LLJava.Variable> 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.Local |
initFrom(Object o0)
Copies values of all common fields from the argument.
|
boolean |
set_name(LLJava.Name val)
Generated by umod; model author's documentation MISSING.
|
boolean |
set_type(LLJava.TypeExpr val)
Generated by umod; model author's documentation MISSING.
|
boolean |
set_variable(LLJava.Variable val)
The variable declared by this statement.
|
toString
get_location, get_location, set_location
protected LLJava.TypeExpr type
LLJava.TypeExpr
(never null)protected LLJava.Name name
LLJava.Name
(maybe null)protected LLJava.Variable variable
ContextChecker
. LLJava.Variable
(maybe null)public Local(LLJava.TypeExpr type, LLJava.Name name)
public Local(LLJava.TypeExpr type)
type
- is copied to field type
public LLJava.Local doclone()
Cloneable
is known
to be implemented.doclone
in class LLJava.Statement
public static String getFormatHint()
type( name?)';'
public Format format()
format
in interface Formattable
format
in class LLJava.Statement
public LLJava.Local initFrom(Object o0)
initFrom
in class LLJava.Statement
public LLJava.TypeExpr get_type()
LLJava.TypeExpr
(never
null)public boolean set_type(LLJava.TypeExpr val)
val
- the new value of type LLJava.TypeExpr
(never null)type
public LLJava.Name get_name()
LLJava.Name
(maybe null)public boolean set_name(LLJava.Name val)
val
- the new value of type LLJava.Name
(maybe null)name
public LLJava.Variable get_variable()
ContextChecker
. LLJava.Variable
(maybe
null)public boolean set_variable(LLJava.Variable val)
ContextChecker
. val
- the new value of type LLJava.Variable
(maybe null)variable
public static Pattern<LLJava.Local> get_type(Pattern<? super LLJava.TypeExpr> p)
LLJava.__Patterns
.public static Pattern<LLJava.Local> get_name(Pattern<? super LLJava.Name> p)
LLJava.__Patterns
.public static Pattern<LLJava.Local> get_variable(Pattern<? super LLJava.Variable> p)
LLJava.__Patterns
.see also the complete user documentation .