public class IndirectReference extends RelativeReference
base| Constructor and Description |
|---|
IndirectReference(Reference base)
Create a new indirect reference.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
isIndirect()
Determine whether this reference is an indirect reference.
|
boolean |
isPrefix()
Determine whether this reference represents a prefix operator in
C syntax.
|
void |
write(java.lang.Appendable out)
Write a human readable representation to the specified
appendable.
|
getBase, hasBase, isConstantpublic IndirectReference(Reference base)
base - The base reference.java.lang.ClassCastException - Signals that the base reference does
not have a pointer type.public boolean isPrefix()
Referencepublic boolean isIndirect()
ReferenceisIndirect in class Referencetrue if this reference is an indirect
reference.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic void write(java.lang.Appendable out)
throws java.io.IOException
ReferenceCopyright © 2014. All Rights Reserved.