sdr 0.7

net.cscott.sdr.calls.grm
Class RuleAndAction

java.lang.Object
  extended by net.cscott.sdr.calls.grm.RuleAndAction

public class RuleAndAction
extends Object

Rule and Action is a simple mutable pair class to associate a grammar rule with its appropriate (ANTLR) action.

Version:
$Id: RuleAndAction.java,v 1.1 2006-10-21 21:31:25 cananian Exp $
Author:
C. Scott Ananian

Field Summary
 String action
           
 Rule rule
           
 
Constructor Summary
RuleAndAction(Rule rule, String action)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

rule

public Rule rule

action

public final String action
Constructor Detail

RuleAndAction

public RuleAndAction(Rule rule,
                     String action)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

sdr 0.7

Copyright © 2006-2009 C. Scott Ananian