Skip to content

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

Class JsonToken

java.lang.Object
        io.github.qishr.cascara.lang.json.token.JsonToken

All Implemented Interfaces:
    Token


public class JsonToken

Constructor Summary

Constructor Description
JsonToken(JsonTokenType type, String lexeme, String content, int startIndex, int line, int column)

Method Summary

Modifier and Type Method Description
public JsonTokenType getType()
public String getLexeme()
public String getContent()
public int getOffset()
public int getStartLine()
public int getStartColumn()
public String toString()

Method Details

getType

public JsonTokenType 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


toString

public String toString()

Specified By:

Token