public abstract class DerivedLexStream
extends LpgLexStream
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 |
---|---|
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.
|
public DerivedLexStream(BasicEnvironment environment, String filename, int tab) throws IOException
IOException
public DerivedLexStream(BasicEnvironment environment, char[] input_chars, String filename, int tab)
public DerivedLexStream()
public void initialize(char[] inputChars)
inputChars
- the characterspublic void reportLexicalError(int errorCode, int leftLoc, int rightLoc, int errorLeftLoc, int errorRightLoc, String[] errorInfo)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.