|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BasicEnvironment2
A BasicEnvironment2 provides an extended environment interface
to support asymmetric as well as symmetric mappings between CST and AST.
| Method Summary | |
|---|---|
void |
initASTMapping(Object fromAstNode,
CSTNode cstNode,
Object toAstNode)
Initialize the asymmetric mapping of an object (typically an astNode) to its originating cstNode, and of a cstNode to its consequent object (typically an astNode) so that AST-based analysis may report error messages exploiting the CST context, or to support incremental AST/CST update. |
| Methods inherited from interface org.eclipse.ocl.lpg.BasicEnvironment |
|---|
analyzerError, analyzerError, analyzerError, analyzerWarning, getASTMapping, getFormatter, getParser, getProblemHandler, initASTMapping, lexerError, parserError, problem, setParser, setProblemHandler, utilityError, validatorError |
| Methods inherited from interface org.eclipse.ocl.util.Adaptable |
|---|
getAdapter |
| Methods inherited from interface org.eclipse.ocl.options.Customizable |
|---|
clearOptions, getOptions, getValue, isEnabled, putOptions, removeOption, removeOptions, setOption |
| Method Detail |
|---|
void initASTMapping(Object fromAstNode,
CSTNode cstNode,
Object toAstNode)
fromAstNode - source of the AST-to-CST mappingcstNode - target of the AST-to-CST mapping and source of the CST-to-AST
mappingtoAstNode - target of the CST-to-AST mapping
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||