org.jvyamlb.nodes
Class PositionedScalarNode
java.lang.Object
org.jvyamlb.nodes.Node
org.jvyamlb.nodes.ScalarNode
org.jvyamlb.nodes.PositionedScalarNode
- All Implemented Interfaces:
- Positionable
public class PositionedScalarNode
- extends ScalarNode
- implements Positionable
- Author:
- Ola Bini
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
range
private Position.Range range
PositionedScalarNode
public PositionedScalarNode(java.lang.String tag,
org.jruby.util.ByteList value,
char style,
Position.Range range)
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