Skip to content

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

Class YamlErrorToken

java.lang.Object
        io.github.qishr.cascara.lang.yaml.token.YamlToken
                io.github.qishr.cascara.lang.yaml.token.YamlErrorToken


public class YamlErrorToken
extends YamlToken

Constructor Summary

Constructor Description
YamlErrorToken(int line, int column, int offset, DiagnosticCode code, Object[] details)

Method Summary

Modifier and Type Method Description
public DiagnosticCode getCode()
public Object[] getDetails()
public YamlTokenType getType()

Methods inherited from YamlToken

getOffset, setType, getLexeme, toString, getStartColumn, getScalarStyle, getStartLine, getContent

Method Details

getCode

public DiagnosticCode getCode()


getDetails

public Object[] getDetails()


getType

public YamlTokenType getType()

Overrides:

YamlToken