Class ExpressionBasisTypeIdAsConstructorCTTIVisitor
- java.lang.Object
-
- de.monticore.types3.AbstractTypeVisitor
-
- de.monticore.expressions.expressionsbasis.types3.ExpressionBasisTypeVisitor
-
- de.monticore.expressions.expressionsbasis.types3.ExpressionBasisCTTIVisitor
-
- de.monticore.expressions.expressionsbasis.types3.ExpressionBasisTypeIdAsConstructorCTTIVisitor
-
- All Implemented Interfaces:
ExpressionsBasisHandler,ExpressionsBasisVisitor2,de.monticore.visitor.IHandler,de.monticore.visitor.IVisitor
public class ExpressionBasisTypeIdAsConstructorCTTIVisitor extends ExpressionBasisCTTIVisitor
-
-
Field Summary
-
Fields inherited from class de.monticore.expressions.expressionsbasis.types3.ExpressionBasisCTTIVisitor
traverser
-
Fields inherited from class de.monticore.types3.AbstractTypeVisitor
ctx4Ast, LOG_NAME, tmpMap, type4Ast
-
-
Constructor Summary
Constructors Constructor Description ExpressionBasisTypeIdAsConstructorCTTIVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.Optional<SymTypeExpression>calculateNameExpression(ASTNameExpression expr)adds support for the type id to be used as if it were the constructors of the type, e.g., Foo(1) based on Constructor Foo::Foo(int)-
Methods inherited from class de.monticore.expressions.expressionsbasis.types3.ExpressionBasisCTTIVisitor
getTraverser, handle, setTraverser
-
Methods inherited from class de.monticore.expressions.expressionsbasis.types3.ExpressionBasisTypeVisitor
calculateNameExpressionOrLogError, endVisit, endVisit, setWithinScopeResolver
-
Methods inherited from class de.monticore.types3.AbstractTypeVisitor
getAsBasicSymbolsScope, getInferenceContext4Ast, getType4Ast, setContext4Ast, setType4Ast
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.monticore.expressions.expressionsbasis._visitor.ExpressionsBasisHandler
handle, handle, handle, handle, handle, handle, handle, handle, traverse, traverse, traverse, traverse, traverse, traverse, traverse
-
Methods inherited from interface de.monticore.expressions.expressionsbasis._visitor.ExpressionsBasisVisitor2
endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, visit, visit, visit, visit, visit, visit, visit, visit
-
-
-
-
Method Detail
-
calculateNameExpression
protected java.util.Optional<SymTypeExpression> calculateNameExpression(ASTNameExpression expr)
adds support for the type id to be used as if it were the constructors of the type, e.g., Foo(1) based on Constructor Foo::Foo(int)- Overrides:
calculateNameExpressionin classExpressionBasisTypeVisitor
-
-