public abstract class DerivedLexStream
extends LpgLexStream
| Modifier and Type | Field and Description |
|---|---|
protected static int |
ECLIPSE_TAB_VALUE |
| Constructor and Description |
|---|
DerivedLexStream() |
DerivedLexStream(BasicEnvironment environment,
char[] input_chars,
String filename,
int tab) |
DerivedLexStream(BasicEnvironment environment,
String filename,
int tab) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
computeErrorCode(int leftToken,
int rightToken) |
void |
initialize(char[] inputChars)
Define the input text as a given array of characters.
|
void |
reportLexicalError(int errorCode,
int leftLoc,
int rightLoc,
int errorLeftLoc,
int errorRightLoc,
String[] errorInfo)
Errors generated within the lexer are redirected to the error handler if there is one.
|
protected static final int ECLIPSE_TAB_VALUE
public DerivedLexStream(BasicEnvironment environment, String filename, int tab) throws IOException
IOExceptionpublic DerivedLexStream(BasicEnvironment environment, char[] input_chars, String filename, int tab)
public DerivedLexStream()
protected int computeErrorCode(int leftToken,
int rightToken)
public void initialize(char[] inputChars)
inputChars - the characterspublic void reportLexicalError(int errorCode,
int leftLoc,
int rightLoc,
int errorLeftLoc,
int errorRightLoc,
String[] errorInfo)
Copyright © 2015 Open eHealth Foundation. All rights reserved.