org.jvyamlb.tokens
Class PositionedBlockEntryToken

java.lang.Object
  extended by org.jvyamlb.tokens.Token
      extended by org.jvyamlb.tokens.BlockEntryToken
          extended by org.jvyamlb.tokens.PositionedBlockEntryToken
All Implemented Interfaces:
Positionable

public class PositionedBlockEntryToken
extends BlockEntryToken
implements Positionable

Author:
Ola Bini

Field Summary
private  Position.Range range
           
 
Fields inherited from class org.jvyamlb.tokens.Token
BLOCK_END, BLOCK_ENTRY, BLOCK_MAPPING_START, BLOCK_SEQUENCE_START, DOCUMENT_END, DOCUMENT_START, FLOW_ENTRY, FLOW_MAPPING_END, FLOW_MAPPING_START, FLOW_SEQUENCE_END, FLOW_SEQUENCE_START, KEY, STREAM_END, STREAM_START, VALUE
 
Constructor Summary
PositionedBlockEntryToken(Position.Range r)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 Position getPosition()
           
 Position.Range getRange()
           
 java.lang.String toString()
           
 
Methods inherited from class org.jvyamlb.tokens.Token
setValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

range

private Position.Range range
Constructor Detail

PositionedBlockEntryToken

public PositionedBlockEntryToken(Position.Range r)
Method Detail

getPosition

public Position getPosition()
Specified by:
getPosition in interface Positionable

getRange

public Position.Range getRange()
Specified by:
getRange in interface Positionable

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class Token