Package one.empty3.library.core.script
Class InterpreteFunction
- java.lang.Object
-
- one.empty3.library.core.script.InterpreteFunction
-
- All Implemented Interfaces:
Interprete
public class InterpreteFunction extends java.lang.Object implements Interprete
-
-
Constructor Summary
Constructors Constructor Description InterpreteFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addVars(java.lang.String string)
InterpreteConstants
constant()
int
getPosition()
java.lang.Object
interprete(java.lang.String text, int pos)
void
setConstant(InterpreteConstants c)
void
setRepertoire(java.lang.String r)
-
-
-
Method Detail
-
addVars
public void addVars(java.lang.String string)
-
constant
public InterpreteConstants constant()
- Specified by:
constant
in interfaceInterprete
-
getPosition
public int getPosition()
- Specified by:
getPosition
in interfaceInterprete
-
interprete
public java.lang.Object interprete(java.lang.String text, int pos) throws InterpreteException
- Specified by:
interprete
in interfaceInterprete
- Throws:
InterpreteException
-
setConstant
public void setConstant(InterpreteConstants c)
- Specified by:
setConstant
in interfaceInterprete
-
setRepertoire
public void setRepertoire(java.lang.String r)
- Specified by:
setRepertoire
in interfaceInterprete
-
-