Skip to content

Package io.github.qishr.cascara.lang.yaml.streaming

Class YamlStreamingEvent

java.lang.Object
        io.github.qishr.cascara.lang.yaml.streaming.YamlStreamingEvent

All Implemented Interfaces:
    StreamingEvent<YamlStreamingEventType>


public class YamlStreamingEvent

Constructor Summary

Constructor Description
YamlStreamingEvent(int lineNumber, int columnNumber, YamlStreamingEventType type, NodeStyle nodeStyle, ScalarStyle scalarStyle, String tag, String resolvedTag, String anchor, String lexeme, String content)

Method Summary

Modifier and Type Method Description
public YamlStreamingEventType getType()
public NodeStyle getNodeStyle()
public ScalarStyle getScalarStyle()
public String getContent()
public String getLexeme()
public String getTag()
public String getResolvedTag()
public String getAnchor()
public long getLineNumber()
public long getColumnNumber()
public String toString()

Method Details

getType

public YamlStreamingEventType getType()

Specified By:

StreamingEvent


getNodeStyle

public NodeStyle getNodeStyle()


getScalarStyle

public ScalarStyle getScalarStyle()


getContent

public String getContent()

Specified By:

StreamingEvent


getLexeme

public String getLexeme()


getTag

public String getTag()


getResolvedTag

public String getResolvedTag()


getAnchor

public String getAnchor()


getLineNumber

public long getLineNumber()

Specified By:

StreamingEvent


getColumnNumber

public long getColumnNumber()

Specified By:

StreamingEvent


toString

public String toString()

Overrides:

Object