uk.ac.ic.doc.automed.editor
Class Syntax.Token

java.lang.Object
  extended by uk.ac.ic.doc.automed.editor.Syntax.Token
Enclosing class:
Syntax

static class Syntax.Token
extends java.lang.Object


Field Summary
(package private) static int comma
           
(package private) static int enabler
           
(package private) static int EOF
           
(package private) static int EOL
           
(package private) static int firstCharKeyword
           
(package private) static int identifier
           
(package private) static int include
           
(package private) static int inside
           
private static java.lang.String[] keywordList
           
(package private) static java.util.Map keywords
           
(package private) static int lastCharKeyword
           
(package private) static int lastKeyword
           
(package private) static int leftBrace
           
(package private) static int leftParen
           
(package private) static int load
           
(package private) static int method
           
(package private) static int multi
           
(package private) static int name
           
(package private) static int network
           
(package private) static int number
           
(package private)  double nval
           
(package private) static int path
           
(package private) static java.util.Map reverseKeywords
           
(package private) static int rightBrace
           
(package private) static int rightParen
           
(package private) static int root
           
(package private) static int schema
           
(package private) static int schemaobject
           
(package private) static int single
           
(package private) static int string
           
(package private)  java.lang.String sval
           
(package private) static int system
           
(package private)  int type
           
 
Constructor Summary
Syntax.Token(double nval)
           
Syntax.Token(int type)
           
Syntax.Token(int type, java.lang.String sval)
           
 
Method Summary
(package private) static java.lang.String getTokenTypeString(int t)
           
(package private) static java.lang.String getTokenTypeString(int t, Syntax.Token tok)
           
(package private) static java.lang.String getTokenTypeString(int t, Syntax.Token tok, boolean brief)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

identifier

static final int identifier
See Also:
Constant Field Values

string

static final int string
See Also:
Constant Field Values

number

static final int number
See Also:
Constant Field Values

EOF

static final int EOF
See Also:
Constant Field Values

EOL

static final int EOL
See Also:
Constant Field Values

firstCharKeyword

static final int firstCharKeyword
See Also:
Constant Field Values

leftBrace

static final int leftBrace
See Also:
Constant Field Values

rightBrace

static final int rightBrace
See Also:
Constant Field Values

leftParen

static final int leftParen
See Also:
Constant Field Values

rightParen

static final int rightParen
See Also:
Constant Field Values

comma

static final int comma
See Also:
Constant Field Values

lastCharKeyword

static final int lastCharKeyword
See Also:
Constant Field Values

root

static final int root
See Also:
Constant Field Values

load

static final int load
See Also:
Constant Field Values

include

static final int include
See Also:
Constant Field Values

network

static final int network
See Also:
Constant Field Values

schema

static final int schema
See Also:
Constant Field Values

schemaobject

static final int schemaobject
See Also:
Constant Field Values

single

static final int single
See Also:
Constant Field Values

multi

static final int multi
See Also:
Constant Field Values

path

static final int path
See Also:
Constant Field Values

inside

static final int inside
See Also:
Constant Field Values

system

static final int system
See Also:
Constant Field Values

name

static final int name
See Also:
Constant Field Values

method

static final int method
See Also:
Constant Field Values

enabler

static final int enabler
See Also:
Constant Field Values

lastKeyword

static final int lastKeyword
See Also:
Constant Field Values

keywords

static final java.util.Map keywords

reverseKeywords

static final java.util.Map reverseKeywords

keywordList

private static final java.lang.String[] keywordList

type

int type

sval

java.lang.String sval

nval

double nval
Constructor Detail

Syntax.Token

Syntax.Token(int type)

Syntax.Token

Syntax.Token(int type,
             java.lang.String sval)

Syntax.Token

Syntax.Token(double nval)
Method Detail

getTokenTypeString

static java.lang.String getTokenTypeString(int t)

getTokenTypeString

static java.lang.String getTokenTypeString(int t,
                                           Syntax.Token tok)

getTokenTypeString

static java.lang.String getTokenTypeString(int t,
                                           Syntax.Token tok,
                                           boolean brief)