org.eclipse.mtl.parser.ast
Class CST2ASTConverterWithResolver

java.lang.Object
  extended by org.eclipse.mtl.parser.ast.CST2ASTConverter
      extended by org.eclipse.mtl.parser.ast.CST2ASTConverterWithResolver

public class CST2ASTConverterWithResolver
extends CST2ASTConverter

The main class used to transform a CST model to an AST model. This class is able to run the 'Resolve' step.


Field Summary
 
Fields inherited from class org.eclipse.mtl.parser.ast.CST2ASTConverter
factory
 
Constructor Summary
CST2ASTConverterWithResolver()
          Constructor.
 
Method Summary
 void resolveAST(Module rootCST)
          Resolution step of the AST creation : OCL and invocations.
 
Methods inherited from class org.eclipse.mtl.parser.ast.CST2ASTConverter
createAST, getOCL, log, setLogHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CST2ASTConverterWithResolver

public CST2ASTConverterWithResolver()
Constructor.

Method Detail

resolveAST

public void resolveAST(Module rootCST)
Resolution step of the AST creation : OCL and invocations. This function must be called after 'createAST'. The single argument is the root element of the CST model, because this method is a component of the 'CST to AST' transformation.

Parameters:
rootCST - is the root element of the input module (CST)

Copyright 2008 Obeo
All Rights Reserved.