public static class LLJava.Variable extends Object implements Cloneable, Formattable
Modifier and Type | Field and Description |
---|---|
protected static int |
BASE_HASH |
protected LLJava.Name |
name
Generated by umod; model author's documentation MISSING.
|
protected LLJava.Type |
type
Generated by umod; model author's documentation MISSING.
|
format
Constructor and Description |
---|
Variable(LLJava.Type type,
LLJava.Name name)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
Modifier and Type | Method and Description |
---|---|
LLJava.Variable |
doclone()
Clones this object.
|
boolean |
equals(Object e0)
Generated by umod because this class is
ALGEBRAIC . |
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.Variable> |
get_name(Pattern<? super LLJava.Name> p)
Lifts a pattern which matches the field value to one which matches this
whole object.
|
LLJava.Type |
get_type()
Generated by umod; model author's documentation MISSING.
|
static Pattern<LLJava.Variable> |
get_type(Pattern<? super LLJava.Type> 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.
|
int |
hashCode()
Generated by umod because this class is
ALGEBRAIC . |
LLJava.Variable |
initFrom(Object o0)
Copies values of all common fields from the argument.
|
LLJava.Variable |
with_name(LLJava.Name val)
Generated by umod; model author's documentation MISSING.
|
LLJava.Variable |
with_type(LLJava.Type val)
Generated by umod; model author's documentation MISSING.
|
boolean |
x_equals(LLJava.Variable e0) |
protected static final int BASE_HASH
protected LLJava.Type type
LLJava.Type
(never null)protected LLJava.Name name
LLJava.Name
(never null)public Variable(LLJava.Type type, LLJava.Name name)
public LLJava.Variable doclone()
Cloneable
is known
to be implemented.public static String getFormatHint()
type name
public Format format()
format
in interface Formattable
public boolean equals(Object e0)
ALGEBRAIC
.public boolean x_equals(LLJava.Variable e0)
public int hashCode()
ALGEBRAIC
.public LLJava.Variable initFrom(Object o0)
public LLJava.Type get_type()
LLJava.Type
(never null)public LLJava.Variable with_type(LLJava.Type val)
val
- the new value of type LLJava.Type
(never null)type
public LLJava.Name get_name()
LLJava.Name
(never null)public LLJava.Variable with_name(LLJava.Name val)
val
- the new value of type LLJava.Name
(never null)name
public static Pattern<LLJava.Variable> get_type(Pattern<? super LLJava.Type> p)
LLJava.__Patterns
.public static Pattern<LLJava.Variable> get_name(Pattern<? super LLJava.Name> p)
LLJava.__Patterns
.see also the complete user documentation .