public SemanticAnalysis ( INamable instance, DataDictionary.Interpreter.Filter.BaseFilter expectation, bool lastElement ) : void | ||
instance | INamable | the reference instance on which this element should analysed |
expectation | DataDictionary.Interpreter.Filter.BaseFilter | Indicates the kind of element we are looking for |
lastElement | bool | Indicates that this element is the last one in a dereference chain |
return | void |
/// <summary> /// Performs the semantic analysis of the term /// </summary> /// <param name="instance">the reference instance on which this element should analysed</param> /// <param name="expectation">Indicates the kind of element we are looking for</paraparam> /// <param name="lastElement">Indicates that this element is the last one in a dereference chain</param> /// <returns>True if semantic analysis should be continued</returns> public void SemanticAnalysis(Utils.INamable instance, Filter.AcceptableChoice expectation, bool lastElement) { if (Designator != null) { Designator.SemanticAnalysis(instance, expectation, lastElement); } else if (LiteralValue != null) { LiteralValue.SemanticAnalysis(instance, expectation); } }
/// <summary> /// Performs the semantic analysis of the term /// </summary> /// <param name="instance">the reference instance on which this element should analysed</param> /// <param name="expectation">Indicates the kind of element we are looking for</param> /// <param name="lastElement">Indicates that this element is the last one in a dereference chain</param> /// <returns>True if semantic analysis should be continued</returns> public void SemanticAnalysis(INamable instance, BaseFilter expectation, bool lastElement) { if (Designator != null) { Designator.SemanticAnalysis(instance, expectation, lastElement); StaticUsage = Designator.StaticUsage; } else if (LiteralValue != null) { LiteralValue.SemanticAnalysis(instance, expectation); StaticUsage = LiteralValue.StaticUsage; } }