public interface BasicEnvironment2 extends BasicEnvironment
BasicEnvironment2provides an extended environment interface to support asymmetric as well as symmetric mappings between CST and AST.
|Modifier and Type||Method and Description|
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, validatorError
fromAstNode- source of the AST-to-CST mapping
cstNode- target of the AST-to-CST mapping and source of the CST-to-AST mapping
toAstNode- target of the CST-to-AST mapping
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.