org.jvyamlb.events
Class PositionedScalarEvent
java.lang.Object
org.jvyamlb.events.Event
org.jvyamlb.events.NodeEvent
org.jvyamlb.events.ScalarEvent
org.jvyamlb.events.PositionedScalarEvent
- All Implemented Interfaces:
- Positionable
public class PositionedScalarEvent
- extends ScalarEvent
- implements Positionable
- Author:
- Ola Bini
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
range
private Position.Range range
PositionedScalarEvent
public PositionedScalarEvent(java.lang.String anchor,
java.lang.String tag,
boolean[] implicit,
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 java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class ScalarEvent