Package kawa.lang
Class SyntaxForms.PairWithPositionSyntaxForm
- java.lang.Object
-
- gnu.lists.AbstractSequence<E>
-
- gnu.lists.ExtSequence<Object>
-
- gnu.lists.LList
-
- gnu.lists.Pair
-
- gnu.lists.ImmutablePair
-
- gnu.lists.PairWithPosition
-
- kawa.lang.SyntaxForms.PairWithPositionSyntaxForm
-
- All Implemented Interfaces:
BoundedHashable
,Consumable
,Sequence<Object>
,SourceLocator
,Externalizable
,Serializable
,Comparable
,Iterable<Object>
,Collection<Object>
,List<Object>
,SourceLocator
,SyntaxForm
,Locator
- Enclosing class:
- SyntaxForms
public static class SyntaxForms.PairWithPositionSyntaxForm extends PairWithPosition implements SyntaxForm, SourceLocator, Externalizable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface gnu.text.SourceLocator
SourceLocator.Simple
-
-
Field Summary
-
Fields inherited from class gnu.lists.Pair
car, cdr, incompleteListMarker
-
Fields inherited from class gnu.lists.AbstractSequence
noInts
-
Fields inherited from interface gnu.lists.Sequence
ATTRIBUTE_VALUE, BOOLEAN_VALUE, CDATA_VALUE, CHAR_VALUE, COMMENT_VALUE, DOCUMENT_VALUE, DOUBLE_VALUE, ELEMENT_VALUE, EOF_VALUE, eofValue, FLOAT_VALUE, INT_S16_VALUE, INT_S32_VALUE, INT_S64_VALUE, INT_S8_VALUE, INT_U16_VALUE, INT_U32_VALUE, INT_U64_VALUE, INT_U8_VALUE, OBJECT_VALUE, PRIM_VALUE, PROCESSING_INSTRUCTION_VALUE, TEXT_BYTE_VALUE
-
-
Constructor Summary
Constructors Constructor Description PairWithPositionSyntaxForm(Pair datum, SourceLocator where, TemplateScope scope)
PairWithPositionSyntaxForm(PairWithPosition datum, TemplateScope scope)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getCar()
Object
getCdr()
Object
getDatum()
TemplateScope
getScope()
void
readExternal(ObjectInput in)
String
toString()
void
writeExternal(ObjectOutput out)
-
Methods inherited from class gnu.lists.PairWithPosition
getColumnNumber, getEndColumn, getEndLine, getFileName, getLineNumber, getPublicId, getStartColumn, getStartLine, getSystemId, init, isStableSourceLocation, make, make, setEndLine, setFile, setLine, setLine
-
Methods inherited from class gnu.lists.ImmutablePair
setCar, setCdr
-
Methods inherited from class gnu.lists.Pair
compareTo, compareTo, equals, equals, get, getPosNext, getPosPrevious, hasNext, isEmpty, lastPair, length, make, nextPos, readResolve, setCarBackdoor, setCdrBackdoor, size, toArray, toArray
-
Methods inherited from class gnu.lists.LList
boundedHash, chain1, chain4, checkNonList, consume, consX, createPos, createRelativePos, getIterator, hashCode, length, list1, list2, list3, list4, listLength, makeList, makeList, makeList, reverseInPlace, setPosNext, setPosPrevious
-
Methods inherited from class gnu.lists.ExtSequence
copyPos, isAfterPos, nextIndex, releasePos
-
Methods inherited from class gnu.lists.AbstractSequence
add, add, addAll, addAll, addPos, asImmutable, badRank, checkCanWrite, checkRank, clear, compare, compare, compare, consume, consumeNext, consumePosRange, contains, containsAll, effectiveIndex, effectiveIndex, effectiveIndex, effectiveIndex, effectiveIndex, elements, endPos, equals, fill, fill, fillPosRange, firstAttributePos, firstChildPos, firstChildPos, fromEndIndex, get, get, get, get, getAttribute, getAttributeLength, getBooleanRaw, getByteRaw, getCharRaw, getContainingSequenceSize, getDoubleRaw, getElementKind, getFloatRaw, getIndexDifference, getInt, getInt, getInt, getInt, getInt, getIntRaw, getIterator, getIteratorAtPos, getLongRaw, getLowBound, getNextKind, getNextTypeName, getNextTypeObject, getRaw, getRowMajor, getShortRaw, getSize, getSize, gotoAttributesStart, gotoChildrenStart, gotoParent, hasPrevious, indexOf, iterator, lastIndexOf, listIterator, listIterator, nextIndex, nextMatching, parentPos, previousPos, rank, remove, remove, removeAll, removePos, removePosRange, retainAll, set, set, setAt, setBuffer, setRaw, stableCompare, startPos, subList, subSequence, subSequencePos, toString, unsupported, unsupportedException
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, sort, spliterator, subList
-
Methods inherited from interface gnu.text.SourceLocator
getColumnNumber, getEndColumn, getEndLine, getFileName, getLineNumber, getPublicId, getStartColumn, getStartLine, getSystemId, isStableSourceLocation
-
-
-
-
Constructor Detail
-
PairWithPositionSyntaxForm
public PairWithPositionSyntaxForm(PairWithPosition datum, TemplateScope scope)
-
PairWithPositionSyntaxForm
public PairWithPositionSyntaxForm(Pair datum, SourceLocator where, TemplateScope scope)
-
-
Method Detail
-
getDatum
public Object getDatum()
- Specified by:
getDatum
in interfaceSyntaxForm
-
getScope
public TemplateScope getScope()
- Specified by:
getScope
in interfaceSyntaxForm
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Overrides:
writeExternal
in classPairWithPosition
- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Overrides:
readExternal
in classPairWithPosition
- Throws:
IOException
ClassNotFoundException
-
-