public class TempAttributeSemantics extends java.lang.Object implements SemanticChecks
| Constructor and Description |
|---|
TempAttributeSemantics(Semantics semantics,
AttributeSemantics attributeSemantics) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTempAttributeDefinition(antlr.collections.AST ast,
java.lang.String attribute,
java.lang.String type,
ExpressionTree expression)
Überprüft die Definition eines temporären Attributs.
|
void |
addTempAttributePlaceholder(java.lang.String name,
java.lang.String columnName)
Fügt ein Platzhalter Attribut in die Liste der Attribute bzw.
|
void |
cleanUp(ProcessingParameter pp,
boolean processScript)
Führt eine abschließende Überprüfung durch.
|
public TempAttributeSemantics(Semantics semantics, AttributeSemantics attributeSemantics)
semantics - attributeSemantics - public void addTempAttributeDefinition(antlr.collections.AST ast,
java.lang.String attribute,
java.lang.String type,
ExpressionTree expression)
throws CriticalParserException
AttributeSemantics.incAttributeCount() erhöht.ast - Knoten (wird nur für Zeilenangabe in der Fehlermeldung benötigt)attribute - Temporäres Attributtype - Typ des temporären Attributsexpression - Ausdruck um den Wert des temporären AttributeDescription zu berechnenCriticalParserException - Falls das Attribut nicht korrekt definiert wurde oder es zu einem Kommunikationsfehler kommtpublic void addTempAttributePlaceholder(java.lang.String name,
java.lang.String columnName)
name - Name des temporären Attributspublic void cleanUp(ProcessingParameter pp, boolean processScript) throws SemanticErrorException
addTempAttributePlaceholder(String,String) eingefügt) durch das jeweilige
temporäre Attribut.cleanUp in interface SemanticCheckspp - Wird nicht berücksichtigt.processScript - Hat keine Bedeutung.SemanticErrorException - Undefiniertes temporäres Attribut.