|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcsheets.core.formula.lang.Language
public class Language
A factory for creating certain types of language elements.
| Method Summary | |
|---|---|
BinaryOperator |
getBinaryOperator(String identifier)
Returns the binary operator with the given identifier. |
Function |
getFunction(String identifier)
Returns the function with the given identifier. |
Function[] |
getFunctions()
Returns the functions that are supported by the syntax. |
static Language |
getInstance()
Returns the singleton instance. |
UnaryOperator |
getUnaryOperator(String identifier)
Returns the unary operator with the given identifier. |
boolean |
hasFunction(String identifier)
Returns whether there is a function with the given identifier. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Language getInstance()
public UnaryOperator getUnaryOperator(String identifier)
throws UnknownElementException
UnknownElementException
public BinaryOperator getBinaryOperator(String identifier)
throws UnknownElementException
UnknownElementException
public Function getFunction(String identifier)
throws UnknownElementException
UnknownElementExceptionpublic boolean hasFunction(String identifier)
public Function[] getFunctions()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||