sdr 0.7

Uses of Class
net.cscott.sdr.calls.grm.Grm

Packages that use Grm
net.cscott.sdr.calls.grm This package contains the tools needed to generate Sphinx and ANTLRv3 grammars for "natural language calls" from the information in the call lists about grammar and precedence for individual calls. 
net.cscott.sdr.calls.lists This package contains call lists and generated natural-language parsers for the various square dance programs. 
net.cscott.sdr.calls.parser ANTLRv3 grammars for parsing call definition files and AST representations. 
 

Uses of Grm in net.cscott.sdr.calls.grm
 

Subclasses of Grm in net.cscott.sdr.calls.grm
static class Grm.Alt
          Alternation: a|b.
static class Grm.Concat
          Concatanation: a b.
static class Grm.Mult
          Multiplicity marker: a*, a+, or a?.
static class Grm.Nonterminal
          A nonterminal reference to an external rule.
static class Grm.Terminal
          A grammar terminal: a string literal to match.
 

Fields in net.cscott.sdr.calls.grm declared as Grm
 Grm Grm.Mult.operand
           
 Grm Rule.rhs
           
 

Fields in net.cscott.sdr.calls.grm with type parameters of type Grm
 List<Grm> Grm.Alt.alternates
           
 List<Grm> Grm.Concat.sequence
           
 

Methods in net.cscott.sdr.calls.grm that return Grm
protected abstract  Grm Grm.buildIntern()
           
 Grm Grm.intern()
           
static Grm Grm.mkGrm(String... terminals)
          Make a Grm which will recognize the given sequence of terminal symbols.
static Grm Grm.parse(String rule)
          Parse a string representing a Grm.
static Grm SimplifyGrm.simplify(Grm g)
           
 Grm SimplifyGrm.visit(Grm.Alt alt)
           
 Grm SimplifyGrm.visit(Grm.Concat concat)
           
 Grm SimplifyGrm.visit(Grm.Mult mult)
           
 Grm SimplifyGrm.visit(Grm.Nonterminal nonterm)
           
 Grm SimplifyGrm.visit(Grm.Terminal term)
           
 

Methods in net.cscott.sdr.calls.grm that return types with arguments of type Grm
protected abstract  List<Grm> Grm.getOperands()
           
protected  List<Grm> Grm.Alt.getOperands()
           
protected  List<Grm> Grm.Concat.getOperands()
           
protected  List<Grm> Grm.Mult.getOperands()
           
protected  List<Grm> Grm.Nonterminal.getOperands()
           
protected  List<Grm> Grm.Terminal.getOperands()
           
static Map<String,Grm> Grm.grammar(Program p)
          Return a natural language grammar for the given square dance program.
 

Methods in net.cscott.sdr.calls.grm with parameters of type Grm
 int EmitJava.num(Grm g)
           
static Grm SimplifyGrm.simplify(Grm g)
           
 

Constructors in net.cscott.sdr.calls.grm with parameters of type Grm
Grm.Mult(Grm operand, Grm.Mult.Type type)
           
Rule(String lhs, Grm rhs, Fraction prec)
           
 

Constructor parameters in net.cscott.sdr.calls.grm with type arguments of type Grm
Grm.Alt(List<Grm> alternates)
           
Grm.Concat(List<Grm> sequence)
           
 

Uses of Grm in net.cscott.sdr.calls.lists
 

Fields in net.cscott.sdr.calls.lists with type parameters of type Grm
static Map<String,Grm> AllGrm.A1
          Map from nonterminal names to grammar productions for the A1 dance program.
static Map<String,Grm> AllGrm.A2
          Map from nonterminal names to grammar productions for the A2 dance program.
static Map<String,Grm> AllGrm.BASIC
          Map from nonterminal names to grammar productions for the BASIC dance program.
static Map<String,Grm> AllGrm.C1
          Map from nonterminal names to grammar productions for the C1 dance program.
static Map<String,Grm> AllGrm.C2
          Map from nonterminal names to grammar productions for the C2 dance program.
static Map<String,Grm> AllGrm.C3A
          Map from nonterminal names to grammar productions for the C3A dance program.
static Map<String,Grm> AllGrm.C3B
          Map from nonterminal names to grammar productions for the C3B dance program.
static Map<String,Grm> AllGrm.C4
          Map from nonterminal names to grammar productions for the C4 dance program.
static Map<String,Grm> AllGrm.MAINSTREAM
          Map from nonterminal names to grammar productions for the MAINSTREAM dance program.
static Map<String,Grm> AllGrm.PLUS
          Map from nonterminal names to grammar productions for the PLUS dance program.
 

Uses of Grm in net.cscott.sdr.calls.parser
 

Methods in net.cscott.sdr.calls.parser that return Grm
 Grm CallFileBuilder.grammar_start()
           
 Grm CallFileBuilder.grm_rule()
           
static Grm CallFileBuilder.parseGrm(String rule)
           
 


sdr 0.7

Copyright © 2006-2009 C. Scott Ananian