org.jactr.io.resolver
Class ASTResolver

java.lang.Object
  extended by org.jactr.io.resolver.ASTResolver

public class ASTResolver
extends java.lang.Object


Constructor Summary
ASTResolver()
           
 
Method Summary
static org.antlr.runtime.tree.CommonTree toAST(org.jactr.core.production.action.IAction action)
           
static org.antlr.runtime.tree.CommonTree toAST(org.jactr.core.buffer.IActivationBuffer buffer)
          return the AST describing this buffer
static org.antlr.runtime.tree.CommonTree toAST(org.jactr.core.chunk.IChunk chunk)
          return the AST describing this chunk
static org.antlr.runtime.tree.CommonTree toAST(org.jactr.core.chunktype.IChunkType chunkType, boolean fullResolution)
          return the AST describing the chunktype and optionally all it's immediate chunks
static org.antlr.runtime.tree.CommonTree toAST(org.jactr.core.production.condition.ICondition condition)
           
static org.antlr.runtime.tree.CommonTree toAST(org.jactr.core.extensions.IExtension extension)
          return the AST describing this extension
static org.antlr.runtime.tree.CommonTree toAST(org.jactr.core.model.IModel model, boolean fullResolution)
          create an AST description of the model and optionally, all its children
static org.antlr.runtime.tree.CommonTree toAST(org.jactr.core.module.IModule module)
           
static org.antlr.runtime.tree.CommonTree toAST(org.jactr.core.production.IProduction production)
          return the AST describing this production
static org.antlr.runtime.tree.CommonTree toAST(java.lang.Object obj, boolean fullResolution)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASTResolver

public ASTResolver()
Method Detail

toAST

public static org.antlr.runtime.tree.CommonTree toAST(java.lang.Object obj,
                                                      boolean fullResolution)

toAST

public static org.antlr.runtime.tree.CommonTree toAST(org.jactr.core.model.IModel model,
                                                      boolean fullResolution)
create an AST description of the model and optionally, all its children

Parameters:
model -
fullResolution -
Returns:

toAST

public static org.antlr.runtime.tree.CommonTree toAST(org.jactr.core.production.IProduction production)
return the AST describing this production

Parameters:
production -
Returns:

toAST

public static org.antlr.runtime.tree.CommonTree toAST(org.jactr.core.chunk.IChunk chunk)
return the AST describing this chunk

Parameters:
chunk -
Returns:

toAST

public static org.antlr.runtime.tree.CommonTree toAST(org.jactr.core.chunktype.IChunkType chunkType,
                                                      boolean fullResolution)
return the AST describing the chunktype and optionally all it's immediate chunks

Parameters:
chunkType -
fullResolution -
Returns:

toAST

public static org.antlr.runtime.tree.CommonTree toAST(org.jactr.core.buffer.IActivationBuffer buffer)
return the AST describing this buffer

Parameters:
buffer -
Returns:

toAST

public static org.antlr.runtime.tree.CommonTree toAST(org.jactr.core.extensions.IExtension extension)
return the AST describing this extension

Parameters:
extension -
Returns:

toAST

public static org.antlr.runtime.tree.CommonTree toAST(org.jactr.core.module.IModule module)

toAST

public static org.antlr.runtime.tree.CommonTree toAST(org.jactr.core.production.condition.ICondition condition)

toAST

public static org.antlr.runtime.tree.CommonTree toAST(org.jactr.core.production.action.IAction action)