public interface BasicEnvironment2 extends BasicEnvironment
BasicEnvironment2 provides an extended environment interface
to support asymmetric as well as symmetric mappings between CST and AST.| Modifier and Type | Method and Description |
|---|---|
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.
|
analyzerError, analyzerError, analyzerError, analyzerWarning, getASTMapping, getFormatter, getParser, getProblemHandler, initASTMapping, lexerError, parserError, problem, setParser, setProblemHandler, utilityError, validatorErrorgetAdapterclearOptions, getOptions, getValue, isEnabled, putOptions, removeOption, removeOptions, setOptionvoid 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 mappingCopyright © 2015 Open eHealth Foundation. All rights reserved.