public class XBContext
extends java.lang.Object
| Constructor and Description |
|---|
XBContext() |
XBContext(XBCatalog catalog) |
XBContext(XBCatalog catalog,
XBDeclaration declaration) |
| Modifier and Type | Method and Description |
|---|---|
XBBlockDecl |
getBlockType(int group,
int block)
Get Block Type for specification defined by IDs
|
XBBlockType |
getBlockType(XBBlockDecl type)
Get BlockType for given block declaration in current context
|
XBDeclaration |
getDeclaration() |
XBDeclaration |
getParamDecl(XBBlockType blockType,
int index) |
XBContext |
getParent() |
static XBContext |
processDeclaration(XBCatalog catalog,
XBContext parent,
XBTTreeNode specBlock) |
void |
setDeclaration(XBDeclaration declaration) |
void |
setParent(XBContext parent) |
XBSBlockType |
toStaticType(XBBlockType type)
Try to transform given type to static
|
public XBContext()
public XBContext(XBCatalog catalog)
public XBContext(XBCatalog catalog, XBDeclaration declaration)
public XBSBlockType toStaticType(XBBlockType type)
public XBBlockType getBlockType(XBBlockDecl type)
public static XBContext processDeclaration(XBCatalog catalog, XBContext parent, XBTTreeNode specBlock)
public XBContext getParent()
public void setParent(XBContext parent)
parent - the parent to setpublic XBBlockDecl getBlockType(int group, int block)
public XBDeclaration getDeclaration()
public void setDeclaration(XBDeclaration declaration)
declaration - the declaration to setpublic XBDeclaration getParamDecl(XBBlockType blockType, int index)