separated build-in vars from BExpressionContext
This commit is contained in:
parent
53c3df66f5
commit
3ed62bb2b3
13 changed files with 280 additions and 72 deletions
|
|
@ -0,0 +1,35 @@
|
|||
// context for simple expression
|
||||
// context means:
|
||||
// - the local variables
|
||||
// - the local variable names
|
||||
// - the lookup-input variables
|
||||
|
||||
package btools.expressions;
|
||||
|
||||
|
||||
|
||||
public final class BExpressionContextGlobal extends BExpressionContext
|
||||
{
|
||||
private static String[] buildInVariables =
|
||||
{};
|
||||
|
||||
protected String[] getBuildInVariableNames()
|
||||
{
|
||||
return buildInVariables;
|
||||
}
|
||||
|
||||
public BExpressionContextGlobal( BExpressionMetaData meta )
|
||||
{
|
||||
super( "global", meta );
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an Expression-Context for way context
|
||||
*
|
||||
* @param hashSize size of hashmap for result caching
|
||||
*/
|
||||
public BExpressionContextGlobal( int hashSize, BExpressionMetaData meta )
|
||||
{
|
||||
super( "global", hashSize, meta );
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue