public class PointerStatement extends Statement
Modifier and Type | Field and Description |
---|---|
protected boolean |
externalReference |
protected Value |
value |
comment, identifier, label, lineNumber, sourceFile, sourceURI
Modifier | Constructor and Description |
---|---|
protected |
PointerStatement(Label sourceLabel,
int lineNumber,
DictIdentifier identifier)
Constructs essentially a null pointer
|
protected |
PointerStatement(Label sourceLabel,
int lineNumber,
DictIdentifier identifier,
Value value)
Constructs a pointer with a value on the right hand side
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
List<FileReference> |
getFileRefs() |
Value |
getValue()
Returns the value portion (right hand side) of the statement.
|
int |
hashcode() |
boolean |
hasMultipleReferences() |
attachComment, compareTo, getComment, getIdentifier, getLabel, getLineNumber, getSourceFile, getSourceString, getSourceURI, toString, validateCommentType, validateElementType, validateGroupType, validateObjectType, validatePointerType, validateType
protected Value value
protected boolean externalReference
protected PointerStatement(Label sourceLabel, int lineNumber, DictIdentifier identifier)
pointerType
- indicates whether it is data location, include, or description
pointerlineNumber
- at which the statement occursidentifier
- of the statementprotected PointerStatement(Label sourceLabel, int lineNumber, DictIdentifier identifier, Value value)
pointerType
- indicates whether it is data location, include, or description
pointerlineNumber
- at which the statement occursidentifier
- of the statementvalue
- of the assignmentpublic Value getValue()
public boolean hasMultipleReferences()
public List<FileReference> getFileRefs()
public int hashcode()
Copyright © 2005–2015 Planetary Data System. All rights reserved.