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:
getLexeme
public String getLexeme()
Specified By:
getContent
public String getContent()
Specified By:
getOffset
public int getOffset()
Specified By:
getStartLine
public int getStartLine()
Specified By:
getStartColumn
public int getStartColumn()
Specified By:
setType
public void setType(YamlTokenType type)
toString
public String toString()
Specified By: