Package opendap.servers.parsers
Interface CeParser.Lexer
- Enclosing class:
- CeParser
public static interface CeParser.Lexer
Communication interface between the scanner and the Bison-generated
parser CeParser.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intToken returned by the scanner to signal the end of its input.static final intToken number,to be returned by the scanner.static final intToken number,to be returned by the scanner.static final intToken number,to be returned by the scanner. -
Method Summary
-
Field Details
-
EOF
static final int EOFToken returned by the scanner to signal the end of its input.- See Also:
-
SCAN_WORD
static final int SCAN_WORDToken number,to be returned by the scanner.- See Also:
-
SCAN_STRINGCONST
static final int SCAN_STRINGCONSTToken number,to be returned by the scanner.- See Also:
-
SCAN_NUMBERCONST
static final int SCAN_NUMBERCONSTToken number,to be returned by the scanner.- See Also:
-
-
Method Details
-
getLVal
Object getLVal()Method to retrieve the semantic value of the last scanned token.- Returns:
- the semantic value of the last scanned token.
-
yylex
int yylex() throws opendap.dap.parsers.ParseExceptionEntry point for the scanner. Returns the token identifier corresponding to the next token and prepares to return the semantic value of the token.- Returns:
- the token identifier corresponding to the next token.
- Throws:
opendap.dap.parsers.ParseException
-
yyerror
Entry point for error reporting. Emits an error in a user-defined way.- Parameters:
msg- The string for the error message.
-