Commit c9785386 authored by Adam Knapp's avatar Adam Knapp
Browse files

Advanced matching semantic check improvements #413 #414



Adding missing implementation of setMyDefinition
Signed-off-by: Adam Knapp's avatarAdam Knapp <adam.knapp@ericsson.com>
parent ac3697bf
......@@ -768,4 +768,12 @@ public final class SpecificValue_Template extends TTCN3Template {
source.append(".set_ifPresent();\n");
}
}
@Override
/** {@inheritDoc} */
public void setMyDefinition(Definition definition) {
if (realTemplate != null && realTemplate != this) {
realTemplate.setMyDefinition(definition);
}
}
}
......@@ -16,6 +16,7 @@ import org.eclipse.titan.designer.AST.IReferenceChain;
import org.eclipse.titan.designer.AST.IType.Type_type;
import org.eclipse.titan.designer.AST.Scope;
import org.eclipse.titan.designer.AST.TTCN3.Expected_Value_type;
import org.eclipse.titan.designer.AST.TTCN3.definitions.Definition;
import org.eclipse.titan.designer.AST.TTCN3.templates.PatternString.PatternType;
import org.eclipse.titan.designer.compiler.JavaGenData;
import org.eclipse.titan.designer.parsers.CompilationTimeStamp;
......@@ -217,4 +218,10 @@ public final class UnivCharString_Pattern_Template extends TTCN3Template {
return result;
}
@Override
/** {@inheritDoc} */
public void setMyDefinition(Definition definition) {
// Do nothing
}
}
......@@ -21,6 +21,7 @@ import org.eclipse.titan.designer.AST.ReferenceFinder.Hit;
import org.eclipse.titan.designer.AST.Scope;
import org.eclipse.titan.designer.AST.TTCN3.Expected_Value_type;
import org.eclipse.titan.designer.AST.TTCN3.IIncrementallyUpdateable;
import org.eclipse.titan.designer.AST.TTCN3.definitions.Definition;
import org.eclipse.titan.designer.compiler.JavaGenData;
import org.eclipse.titan.designer.parsers.CompilationTimeStamp;
import org.eclipse.titan.designer.parsers.ttcn3parser.ReParseException;
......@@ -254,4 +255,10 @@ public final class Value_Range_Template extends TTCN3Template {
source.append(".set_ifPresent();\n");
}
}
@Override
/** {@inheritDoc} */
public void setMyDefinition(Definition definition) {
// Do nothing
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment