public class ExpressionSemantics extends java.lang.Object implements SemanticChecks
Constructor and Description |
---|
ExpressionSemantics(Semantics semantics,
AttributeSemantics attributeSemantics,
RealAttributeSemantics realAttributeSemantics) |
Modifier and Type | Method and 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.
|
public ExpressionSemantics(Semantics semantics, AttributeSemantics attributeSemantics, RealAttributeSemantics realAttributeSemantics)
semantics
- attributeSemantics
- realAttributeSemantics
- public AttributeDescription[] createExpressionAttribute(antlr.collections.AST ast, java.util.List<java.lang.String> parts, boolean isTempAttribute, antlr.collections.AST padData) throws CriticalParserException
ast
- Knoten (wird nur für Zeilenangabe in der Fehlermeldung benötigt)parts
- Die Qualifizierung des AttributsisTempAttribute
- false: Attribut in einem Filter-Ausdruck verwendet. true: Attribut wird bei der Definition eines temporären Attributs verwendetpadData
- Falls das Auffüllen von Daten unterbleiben soll, muss padData
ungleich null
sein.CriticalParserException
- Falls das Attribut nicht identifiziert werden konntepublic void cleanUp(ProcessingParameter pp, boolean processScript) throws SemanticErrorException
SemanticChecks
cleanUp
in interface SemanticChecks
pp
- AuftragsparameterprocessScript
- Fals true, dann müssen die Daten bereit für die Datenaufbereitung sein.SemanticErrorException
- Fehler bei der semantischen Überprüfung.SemanticChecks.cleanUp(de.bsvrz.pua.prot.util.ProcessingParameter,boolean)