public class ExpressionConceptFunctionParseTreeTypeInference extends ParseTreeTypeInference
ASTPtRootNode
Red (cshelton) |
Green (cshelton) |
_inferredChildType, _scope
Constructor and Description |
---|
ExpressionConceptFunctionParseTreeTypeInference() |
Modifier and Type | Method and Description |
---|---|
void |
visitFunctionApplicationNode(ASTPtFunctionApplicationNode node)
Set the type of the given node to be the return type of the
function determined for the given node.
|
void |
visitLeafNode(ASTPtLeafNode node)
Set the type of the given node.
|
_assert, _getMethodReturnType, _getTypeForName, _inferAllChildren, _inferChild, _isValidName, _methodCall, _setType, inferTypes, inferTypes, visitArrayConstructNode, visitBitwiseNode, visitFunctionalIfNode, visitFunctionDefinitionNode, visitLogicalNode, visitMatrixConstructNode, visitMethodCallNode, visitPowerNode, visitProductNode, visitRecordConstructNode, visitRelationalNode, visitShiftNode, visitSumNode, visitUnaryNode
_unsupportedVisitException, _visitAllChildren, _visitChild, visitAssignmentNode, visitUnionConstructNode
public ExpressionConceptFunctionParseTreeTypeInference()
public void visitFunctionApplicationNode(ASTPtFunctionApplicationNode node) throws IllegalActionException
visitFunctionApplicationNode
in interface ParseTreeVisitor
visitFunctionApplicationNode
in class ParseTreeTypeInference
node
- The specified node.IllegalActionException
- Not thrown in this overridden
method.public void visitLeafNode(ASTPtLeafNode node) throws IllegalActionException
visitLeafNode
in interface ParseTreeVisitor
visitLeafNode
in class ParseTreeTypeInference
node
- The specified node.IllegalActionException
- Not thrown in this overridden
method.