Skip to content

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

Class YamlToken

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

All Implemented Interfaces:
    Token


public class YamlToken

Constructor Summary

Constructor Description
YamlToken(YamlTokenType type, String lexeme, String value, int offset, int line, int column)

Method Summary

Modifier and Type Method Description
public YamlTokenType getType()
public String getLexeme()
public String getContent()
public int getOffset()
public int getStartLine()
public int getStartColumn()
public void setType(YamlTokenType type)
public String toString()

Method Details

getType

public YamlTokenType getType()

Specified By:

Token


getLexeme

public String getLexeme()

Specified By:

Token


getContent

public String getContent()

Specified By:

Token


getOffset

public int getOffset()

Specified By:

Token


getStartLine

public int getStartLine()

Specified By:

Token


getStartColumn

public int getStartColumn()

Specified By:

Token


setType

public void setType(YamlTokenType type)


toString

public String toString()

Specified By:

Token