public class TokLiteral extends TokOperand
TokLiteral class.
Constructor and Description |
---|
TokLiteral(char p_delimiter)
Constructor for TokLiteral.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(char s)
accepts.
|
int |
getDelims()
Getter for the field
delims . |
void |
put(char c)
put.
|
void |
resolve(ValueStack values)
resolve.
|
void |
setDelims(int newDelims)
Setter for the field
delims . |
String |
toString() |
multiplize
public TokLiteral(char p_delimiter)
Constructor for TokLiteral.
p_delimiter
- a char.public boolean accepts(char s)
accepts.
public int getDelims()
Getter for the field delims
.
public void resolve(ValueStack values) throws Exception
resolve.
resolve
in class TokOperand
values
- a ValueStack
object.Exception
- if any.public void setDelims(int newDelims)
Setter for the field delims
.
newDelims
- a int.Copyright © 2018 CodeTaco. All rights reserved.