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
-
Field Summary
Fields inherited from class de.monticore.expressions.expressionsbasis.types3.ExpressionBasisCTTIVisitor
traverserFields inherited from class de.monticore.types3.AbstractTypeVisitor
ctx4Ast, LOG_NAME, tmpMap, type4Ast -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Optional<SymTypeExpression> 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, setTraverserMethods inherited from class de.monticore.expressions.expressionsbasis.types3.ExpressionBasisTypeVisitor
calculateNameExpressionOrLogError, endVisit, endVisit, setWithinScopeResolverMethods inherited from class de.monticore.types3.AbstractTypeVisitor
getAsBasicSymbolsScope, getInferenceContext4Ast, getType4Ast, setContext4Ast, setType4AstMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.monticore.expressions.expressionsbasis._visitor.ExpressionsBasisHandler
handle, handle, handle, handle, handle, handle, handle, handle, traverse, traverse, traverse, traverse, traverse, traverse, traverseMethods inherited from interface de.monticore.expressions.expressionsbasis._visitor.ExpressionsBasisVisitor2
endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, visit, visit, visit, visit, visit, visit, visit, visitMethods inherited from interface de.monticore.visitor.IHandler
handle, handle, handle, handle, handle, traverse, traverseMethods inherited from interface de.monticore.visitor.IVisitor
endVisit, endVisit, endVisit, endVisit, visit, visit, visit, visit
-
Constructor Details
-
ExpressionBasisTypeIdAsConstructorCTTIVisitor
public ExpressionBasisTypeIdAsConstructorCTTIVisitor()
-
-
Method Details
-
calculateNameExpression
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
-