public class Lexer
extends java.lang.Object
| Constructor and Description |
|---|
Lexer() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Stack |
getStack()
Gets the stack associated with this lexer.
|
void |
parse(float[] input)
Parse the input stream associated with this instance.
|
void |
setInputStream(java.io.InputStream in)
Type 4 function input stream to pars.e
|
protected void |
setReader(java.io.Reader reader) |
public void setInputStream(java.io.InputStream in)
in - type 4 function input stream.protected void setReader(java.io.Reader reader)
public void parse(float[] input)
throws java.io.IOException
input - array of 1 or more numbers to be pushed onto the stack before
the type 4 function is executed.java.io.IOException - if the input stream is null or incomplete.public java.util.Stack getStack()