Overview | Package | Class | Tree | Deprecated | Index | Help
| Protege 3.5 alpha
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.stanford.smi.protege.storage.clips
Class ParserTokenManager

    java.lang.Object
      edu.stanford.smi.protege.storage.clips.ParserTokenManager

All Implemented Interfaces:
  ParserConstants

    public class ParserTokenManager

extends Object
implements ParserConstants

Token Manager.

Field Summary
`protected char` | `curChar`
`PrintStream` | `debugStream` Debug output.
`protected SimpleCharStream` | `input_stream`
`static String[]` | `jjstrLiteralImages` Token literal values.
`static String[]` | `lexStateNames` Lexer state names.

Fields inherited from interface edu.stanford.smi.protege.storage.clips.ParserConstants
`ABSTRACT, ACCESS, ALLOWED_CLASSES, ALLOWED_FLOATS, ALLOWED_GRAMMAR, ALLOWED_INTEGERS, ALLOWED_PARENTS, ALLOWED_STRINGS, ALLOWED_SYMBOLS, ALLOWED_VALUES, ANY, ASSOCIATED_FACET, BLANK_COMMENT, BRA, BUILD, CARDINALITY, COMMENT, COMMENT_LINE, COMPOSITE, CONCRETE, CREATE_ACCESSOR, DEFAULT, DEFAULT_, DEFCLASS, EOF, EOL, EXCLUSIVE, EXTENSION, FLOAT, INCLUDE, INHERIT, INITIALIZER_ONLY, INSTANCE, INSTANCE_NAME_LITERAL, INTEGER, INVERSE_SLOT, IS_A, KET, LOCAL, LPAREN, MULTISLOT, NO_INHERIT, NON_REACTIVE, NOTE, OF, OVERRIDE_MESSAGE, PATTERN_MATCH, PRIVATE, PROPAGATION, PUBLIC, QUESTION_DEFAULT, QUESTION_NONE, RANGE, REACTIVE, READ, READ_ONLY, READ_WRITE, ROLE, RPAREN, SHARED, SINGLE_SLOT, SLOT, SOURCE, STORAGE, STRING, STRING_LITERAL, SUBSLOT_OF, SYMBOL, SYMBOL_CHAR_MIDDLE, SYMBOL_CHAR_START, SYMBOL_LITERAL, TEXT_COMMENT, tokenImage, TYPE, USER_FACET, VALUE, VERSION, VISIBILITY, WRITE`

Constructor Summary
`ParserTokenManager(SimpleCharStream stream)` Constructor.
`ParserTokenManager(SimpleCharStream stream, int lexState)` Constructor.

Method Summary
`Token` | `getNextToken()` Get the next Token.
`protected Token` | `jjFillToken()`
`void` | `ReInit(SimpleCharStream stream)` Reinitialise parser.
`void` | `ReInit(SimpleCharStream stream, int lexState)` Reinitialise parser.
`void` | `setDebugStream(PrintStream ds)` Set debug output.
`void` | `SwitchTo(int lexState)` Switch to specified lex state.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### debugStream

    public PrintStream debugStream

  Debug output.

### jjstrLiteralImages

    public static final String[] jjstrLiteralImages

  Token literal values.

### lexStateNames

    public static final String[] lexStateNames

  Lexer state names.

### input_stream

    protected SimpleCharStream input_stream

### curChar

    protected char curChar

Constructor Detail

### ParserTokenManager

    public ParserTokenManager(SimpleCharStream stream)

  Constructor.

### ParserTokenManager

    public ParserTokenManager(SimpleCharStream stream,
                              int lexState)

  Constructor.

Method Detail

### setDebugStream

    public void setDebugStream(PrintStream ds)

  Set debug output.

### ReInit

    public void ReInit(SimpleCharStream stream)

  Reinitialise parser.

### ReInit

    public void ReInit(SimpleCharStream stream,
                       int lexState)

  Reinitialise parser.

### SwitchTo

    public void SwitchTo(int lexState)

  Switch to specified lex state.

### jjFillToken

    protected Token jjFillToken()

### getNextToken

    public Token getNextToken()

  Get the next Token.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Protege 3.5 alpha
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2012 Stanford University.