Modifier and Type | Method and Description |
---|---|
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.
|
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
UnknownElementException
public boolean hasFunction(String identifier)
public Function[] getFunctions()