|
sdr 0.21 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
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.transform | This package contains code to parse call lists and transform call abstract syntax in various ways. |
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 | |
---|---|
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 with parameters of type Grm | |
---|---|
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.transform |
---|
Methods in net.cscott.sdr.calls.transform that return Grm | |
---|---|
Grm |
CallFileBuilder.grammar_start(AST _t)
|
Grm |
CallFileBuilder.grm_rule(AST _t)
|
|
sdr 0.21 | |||||||||
PREV NEXT | FRAMES NO FRAMES |