org.jvyamlb.nodes
Class PositionedScalarNode

java.lang.Object
  extended by org.jvyamlb.nodes.Node
      extended by org.jvyamlb.nodes.ScalarNode
          extended by org.jvyamlb.nodes.PositionedScalarNode
All Implemented Interfaces:
Positionable

public class PositionedScalarNode
extends ScalarNode
implements Positionable

Author:
Ola Bini

Field Summary
private  Position.Range range
           
 
Constructor Summary
PositionedScalarNode(java.lang.String tag, org.jruby.util.ByteList value, char style, Position.Range range)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 Position getPosition()
           
 Position.Range getRange()
           
 java.lang.String toString()
           
 
Methods inherited from class org.jvyamlb.nodes.ScalarNode
getStyle
 
Methods inherited from class org.jvyamlb.nodes.Node
getConstructed, getTag, getValue, hashCode, setConstructed, setValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

range

private Position.Range range
Constructor Detail

PositionedScalarNode

public PositionedScalarNode(java.lang.String tag,
                            org.jruby.util.ByteList value,
                            char style,
                            Position.Range range)
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 Node

toString

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