sdr 0.21

net.cscott.sdr.calls.grm
Class Grm.Terminal

java.lang.Object
  extended by net.cscott.sdr.calls.grm.Grm
      extended by net.cscott.sdr.calls.grm.Grm.Terminal
Enclosing class:
Grm

public static class Grm.Terminal
extends Grm

A grammar terminal: a string literal to match.


Nested Class Summary
 
Nested classes/interfaces inherited from class net.cscott.sdr.calls.grm.Grm
Grm.Alt, Grm.Concat, Grm.Mult, Grm.Nonterminal, Grm.Terminal
 
Field Summary
 String literal
           
 
Constructor Summary
Grm.Terminal(String literal)
           
 
Method Summary
<T> T
accept(GrmVisitor<T> v)
           
 int precedence()
           
 
Methods inherited from class net.cscott.sdr.calls.grm.Grm
mkGrm, parse, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

literal

public final String literal
Constructor Detail

Grm.Terminal

public Grm.Terminal(String literal)
Method Detail

precedence

public int precedence()
Specified by:
precedence in class Grm

accept

public <T> T accept(GrmVisitor<T> v)
Specified by:
accept in class Grm

sdr 0.21

Copyright (c) 2006 C. Scott Ananian