org.duelengine.duel.parsing
Class DuelToken

java.lang.Object
  extended by org.duelengine.duel.parsing.DuelToken

public class DuelToken
extends Object


Method Summary
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()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getToken

public DuelTokenType getToken()

getValue

public String getValue()

getBlock

public BlockValue getBlock()

getIndex

public int getIndex()

getLine

public int getLine()

getColumn

public int getColumn()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object arg)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

error

public static DuelToken error(String message)

error

public static DuelToken error(String message,
                              int index,
                              int line,
                              int column)

elemBegin

public static DuelToken elemBegin(String name)

elemBegin

public static DuelToken elemBegin(String name,
                                  int index,
                                  int line,
                                  int column)

elemEnd

public static DuelToken elemEnd(String name)

elemEnd

public static DuelToken elemEnd(String name,
                                int index,
                                int line,
                                int column)

attrName

public static DuelToken attrName(String name)

attrName

public static DuelToken attrName(String name,
                                 int index,
                                 int line,
                                 int column)

attrValue

public static DuelToken attrValue(String value)

attrValue

public static DuelToken attrValue(String value,
                                  int index,
                                  int line,
                                  int column)

attrValue

public static DuelToken attrValue(BlockValue value)

attrValue

public static DuelToken attrValue(BlockValue value,
                                  int index,
                                  int line,
                                  int column)

block

public static DuelToken block(BlockValue value)

block

public static DuelToken block(BlockValue value,
                              int index,
                              int line,
                              int column)

literal

public static DuelToken literal(String value)

literal

public static DuelToken literal(String value,
                                int index,
                                int line,
                                int column)


Copyright © 2011. All Rights Reserved.