net.cscott.sdr.calls.grm
Class Grm.Terminal
java.lang.Object
net.cscott.sdr.calls.grm.Grm
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.
literal
public final String literal
Grm.Terminal
public Grm.Terminal(String literal)
precedence
public int precedence()
- Specified by:
precedence
in class Grm
accept
public <T> T accept(GrmVisitor<T> v)
- Specified by:
accept
in class Grm
repr
public void repr(StringBuilder sb)
- Specified by:
repr
in class Grm
buildIntern
protected Grm.Terminal buildIntern()
- Specified by:
buildIntern
in class Grm
getName
protected String getName()
- Specified by:
getName
in class Grm
getOperands
protected List<Grm> getOperands()
- Specified by:
getOperands
in class Grm
Copyright © 2006-2009 C. Scott Ananian