|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ASDSemantics
Interface to an object that implements the semantics used with an ASDParser. An ASDParser with non-null semantics invokes the semanticAction method when it advances into an ASDGrammarNode that has a non-null semanticAction field. It invokes the semanticValue method when it completes a subphrase at a final node that has a non-null semanticValue field.
| Method Summary | |
|---|---|
java.lang.String |
semanticAction(java.lang.String action)
Interprets the parameter string in some application-specific manner. |
java.lang.Object |
semanticValue(java.lang.String value)
Evaluates the parameter string in some application-specific manner and returns an Object reference to the corresponding value. |
| Method Detail |
|---|
java.lang.String semanticAction(java.lang.String action)
action - the string to be interpreted
java.lang.Object semanticValue(java.lang.String value)
value - the string to be interpreted
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||