public class TreeContextFactory extends JContextFactory
Modifier and Type | Class and Description |
---|---|
protected class |
TreeContextFactory.TreeContext |
JContextFactory.ContextElement, JContextFactory.JContext
Modifier and Type | Field and Description |
---|---|
static boolean |
check_types
Indicates whether type checking should be performed.
|
static TreeContextFactory |
instance |
Constructor and Description |
---|
TreeContextFactory() |
Modifier and Type | Method and Description |
---|---|
Context |
newContext()
Returns a new
TreeContext
instance. |
Context |
newContext(Context _scope)
Returns a new
TreeContext
instance with scope
scope . |
public static final boolean check_types
public static final TreeContextFactory instance
public Context newContext()
TreeContext
instance.newContext
in interface ContextFactory
newContext
in class JContextFactory
TreeContextFactory.TreeContext
instance.public Context newContext(Context _scope)
TreeContext
instance with scope
scope
.
_scope
must have been acquired by the caller first, if it is
to be shared.
newContext
in interface ContextFactory
newContext
in class JContextFactory
scope
- the scope of the returned context instance;TreeContext
instance.