public class DuelToken extends Object
| Modifier and Type | Method and Description |
|---|---|
static DuelToken |
attrName(String name) |
static DuelToken |
attrName(String name,
int index,
int line,
int column) |
static DuelToken |
attrValue(BlockValue value) |
static DuelToken |
attrValue(BlockValue value,
int index,
int line,
int column) |
static DuelToken |
attrValue(String value) |
static DuelToken |
attrValue(String value,
int index,
int line,
int column) |
static DuelToken |
block(BlockValue value) |
static DuelToken |
block(BlockValue value,
int index,
int line,
int column) |
static DuelToken |
elemBegin(String name) |
static DuelToken |
elemBegin(String name,
int index,
int line,
int column) |
static DuelToken |
elemEnd(String name) |
static DuelToken |
elemEnd(String name,
int index,
int line,
int column) |
boolean |
equals(Object arg) |
static DuelToken |
error(String message) |
static DuelToken |
error(String message,
int index,
int line,
int column) |
BlockValue |
getBlock() |
int |
getColumn() |
int |
getIndex() |
int |
getLine() |
DuelTokenType |
getToken() |
String |
getValue() |
int |
hashCode() |
static DuelToken |
literal(String value) |
static DuelToken |
literal(String value,
int index,
int line,
int column) |
String |
toString() |
public DuelTokenType getToken()
public String getValue()
public BlockValue getBlock()
public int getIndex()
public int getLine()
public int getColumn()
public static DuelToken attrValue(BlockValue value)
public static DuelToken attrValue(BlockValue value, int index, int line, int column)
public static DuelToken block(BlockValue value)
public static DuelToken block(BlockValue value, int index, int line, int column)
Copyright © 2014. All rights reserved.