Class ExpressionSemantics

  • All Implemented Interfaces:
    SemanticChecks

    public class ExpressionSemantics
    extends java.lang.Object
    implements SemanticChecks
    Überprüf die Semantik von in Ausdrücken eingetragenen Attributen.
    • Method Summary

      Modifier and Type Method Description
      void cleanUp​(ProcessingParameter pp, boolean processScript)
      Führt semantische Überprüfungen durch.
      AttributeDescription[] createExpressionAttribute​(antlr.collections.AST ast, java.util.List<java.lang.String> parts, boolean isTempAttribute, antlr.collections.AST padData)
      Prüft ein Attribut, das in einem Ausdruck vorkommt und fügt es zu den Informationen für die Datenaufbereitung hinzu.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExpressionSemantics

        public ExpressionSemantics​(Semantics semantics,
                                   AttributeSemantics attributeSemantics,
                                   RealAttributeSemantics realAttributeSemantics)
        Parameters:
        semantics - Semantics
        attributeSemantics - AttributeSemantics
        realAttributeSemantics - RealAttributeSemantics
    • Method Detail

      • createExpressionAttribute

        public AttributeDescription[] createExpressionAttribute​(antlr.collections.AST ast,
                                                                java.util.List<java.lang.String> parts,
                                                                boolean isTempAttribute,
                                                                antlr.collections.AST padData)
                                                         throws CriticalParserException
        Prüft ein Attribut, das in einem Ausdruck vorkommt und fügt es zu den Informationen für die Datenaufbereitung hinzu.
        Parameters:
        ast - Knoten (wird nur für Zeilenangabe in der Fehlermeldung benötigt)
        parts - Die Qualifizierung des Attributs
        isTempAttribute - false: Attribut in einem Filter-Ausdruck verwendet. true: Attribut wird bei der Definition eines temporären Attributs verwendet
        padData - Falls das Auffüllen von Daten unterbleiben soll, muss padData ungleich null sein.
        Returns:
        AttributeDescription Attributbeschreibung eines realen oder temporären Attributs
        Throws:
        CriticalParserException - Falls das Attribut nicht identifiziert werden konnte