opendap.dap.parser
Interface DapParser.Lexer

Enclosing class:
DapParser

public static interface DapParser.Lexer

Communication interface between the scanner and the Bison-generated parser DapParser.


Method Summary
 java.lang.Object getLVal()
          Method to retrieve the semantic value of the last scanned token.
 void yyerror(java.lang.String s)
          Entry point for error reporting.
 int yylex()
          Entry point for the scanner.
 

Method Detail

getLVal

java.lang.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 ParseException
Entry 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:
ParseException

yyerror

void yyerror(java.lang.String s)
Entry point for error reporting. Emits an error in a user-defined way.

Parameters:
s - The string for the error message.