public abstract class AbstractTerm extends AbstractGroupable<PropertyValue,PropertyValueMember> implements Term
Term
s.Constructor and Description |
---|
AbstractTerm()
Creates a new instance with no line or number specified (used for dynamically created
Syntax units). |
AbstractTerm(int line,
int column)
Creates a new instance with the given line and column numbers.
|
Modifier and Type | Method and Description |
---|---|
Declaration |
declaration()
Shortcut method to get the parent
Declaration containing this term. |
boolean |
isTerm()
Returns true if this member is an instance of
Term . |
protected Term |
self()
Should return "this".
|
append, destroy, group, group, isDestroyed, isFirst, isLast, isWritable, next, parent, prepend, previous, replaceWith, unlink
annotate, annotateUnlessPresent, annotation, annotations, column, comment, comment, comments, comments, comments, copiedFrom, copy, equals, hasAnnotation, hasAnnotation, hashCode, hasSourcePosition, id, line, orphanedComments, orphanedComments, orphanedComments, propagateBroadcast, shouldBreakBroadcast, status, status, toString, toString, writesOwnComments, writesOwnOrphanedComments
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy, textualValue
append, destroy, group, group, isDestroyed, isFirst, isLast, next, parent, prepend, previous, replaceWith, unlink
annotate, annotateUnlessPresent, annotation, annotations, column, comment, comment, comments, comments, comments, hasAnnotation, hasAnnotation, hasSourcePosition, id, line, orphanedComments, orphanedComments, orphanedComments, toString, writesOwnComments, writesOwnOrphanedComments
isWritable, write
propagateBroadcast, shouldBreakBroadcast, status, status
public AbstractTerm()
Syntax
units).public AbstractTerm(int line, int column)
line
- The line number.column
- The column number.public boolean isTerm()
PropertyValueMember
Term
.isTerm
in interface PropertyValueMember
protected Term self()
AbstractGroupable
AbstractGroupable
class.self
in class AbstractGroupable<PropertyValue,PropertyValueMember>
public Declaration declaration()
Term
Declaration
containing this term.declaration
in interface Term
Declaration
. If working with this term before it has been properly linked then this may return
null. This is not the case for normal subscription methods.Copyright (c) 2019, Salesforce.com, Inc. All rights reserved. Licensed under the BSD 3-Clause license. For full license text, see the LICENSE file in the repository.