1 instantiation of RuleNode
System.Speech (1)
Result\RecognizedPhrase.cs (1)
754
RuleNode node =
new
(grammar, name, rule.SREngineConfidence, rule.ulFirstElement, rule.ulCountOfElements);
17 references to RuleNode
System.Speech (17)
Result\RecognizedPhrase.cs (17)
423
RuleNode
ruleTree = ExtractRules(grammar, _serializedPhrase.Rule, buffer);
454
private static List<ResultPropertiesRef> BuildRecoPropertyTree(SPSERIALIZEDPHRASE serializedPhrase, IntPtr phraseBuffer,
RuleNode
ruleTree, IList<RecognizedWordUnit> words, bool isSapi53Header)
466
private static SemanticValue RecursiveBuildSemanticProperties(IList<RecognizedWordUnit> words, List<ResultPropertiesRef> properties,
RuleNode
ruleTree, GrammarOptions semanticTag, ref Collection<SemanticValue>? dupItems)
471
for (
RuleNode
? children = ruleTree._child; children != null; children = children._next)
543
private static void RecursivelyExtractSemanticProperties(List<ResultPropertiesRef> propertyList, int semanticsOffset, IntPtr phraseBuffer,
RuleNode
ruleTree, IList<RecognizedWordUnit> words, bool isSapi53Header)
551
RuleNode
node = ruleTree.Find(property.ulFirstElement, property.ulCountOfElements);
739
private static
RuleNode
ExtractRules(Grammar? grammar, SPSERIALIZEDPHRASERULE rule, IntPtr phraseBuffer)
754
RuleNode
node = new(grammar, name, rule.SREngineConfidence, rule.ulFirstElement, rule.ulCountOfElements);
808
private static bool TryExecuteOnParse(
RuleNode
ruleRef, SemanticValue value, IList<RecognizedWordUnit> words, out object? newValue, ref Exception? exceptionThrown)
854
private static bool ExecuteOnParse(Grammar grammar,
RuleNode
ruleRef, SemanticValue value, IList<RecognizedWordUnit> words, out object? newValue)
905
private static bool ExecuteOnError(Grammar grammar,
RuleNode
ruleRef, Exception e)
1142
internal
RuleNode
Find(uint firstElement, uint count)
1157
for (
RuleNode
? child = _child; child != null; child = child._next)
1189
internal
RuleNode
? _next;
1190
internal
RuleNode
? _child;
1197
internal
RuleNode
_ruleNode;
1199
internal ResultPropertiesRef(string name, SemanticValue value,
RuleNode
ruleNode)