|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.bsvrz.pua.prot.interpreter.semantics.TempAttributeSemantics
public class TempAttributeSemantics
Semantische Überprüfung der temporären Attribute.
| Constructor Summary | |
|---|---|
TempAttributeSemantics(Semantics semantics,
AttributeSemantics attributeSemantics)
|
|
| Method Summary | |
|---|---|
void |
addTempAttribute(java.lang.String name)
Fügt ein Platzhalter Attribut in die Liste der Attribute ein. |
void |
addTempAttributeDefinition(AST ast,
java.lang.String attribute,
java.lang.String type,
ExpressionTree expression)
Überprüft die Definition eines temporären Attributs. |
void |
cleanUp(ProcessingParameter pp,
boolean processScript)
Führt eine abschließende Überprüfung durch. - Stellt sicher, dass jedes verwendete temporäre Attribut eine gültige Definition besitzt. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TempAttributeSemantics(Semantics semantics,
AttributeSemantics attributeSemantics)
semantics - attributeSemantics - | Method Detail |
|---|
public void addTempAttributeDefinition(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 berechnen
CriticalParserException - Falls das Attribut nicht korrekt definiert wurde oder es zu einem Kommunikationsfehler kommtpublic void addTempAttribute(java.lang.String name)
name - Name des temporären Attributs
public void cleanUp(ProcessingParameter pp,
boolean processScript)
throws SemanticErrorException
addTempAttribute(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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||