1 write to _parser
System.Speech (1)
Internal\SrgsParser\SrgsDocumentParser.cs (1)
47_parser = value;
22 references to _parser
System.Speech (22)
Internal\SrgsParser\SrgsDocumentParser.cs (22)
29ProcessGrammarElement(_grammar, _parser.Grammar); 34_parser.RemoveAllRules(); 85_parser.AddScript(grammar, source.Script, null, -1); 123_parser.AddScript(grammar, id, srgsRule.Script); 145ruleRef = _parser.Null; 149ruleRef = _parser.Void; 153ruleRef = _parser.Garbage; 158ruleRef = _parser.CreateRuleRef(parent, srgsRuleRef.Uri, srgsRuleRef.SemanticKey, srgsRuleRef.Params); 164_parser.InitSpecialRuleRef(parent, ruleRef); 176IOneOf oneOf = _parser.CreateOneOf(parent, rule); 192IItem item = _parser.CreateItem(parent, rule, srgsItem.MinRepeat, srgsItem.MaxRepeat, srgsItem.RepeatProbability, srgsItem.Weight); 209return _parser.CreateToken(parent, srgsToken.Text, srgsToken.Pronunciation, srgsToken.Display, -1); 223XmlParser.ParseText(parent, sChars, pronunciation, display, reqConfidence, new CreateTokenCallback(_parser.CreateToken)); 251return _parser.CreateSubset(parent, srgsSubset.Text, matchMode); 259ISemanticTag tag = _parser.CreateSemanticTag(parent); 271IPropertyTag tag = _parser.CreatePropertyTag(parent); 325IElementText textChild = _parser.CreateText(parent, content); 332_parser.AddElement(parentRule, textChild); 338_parser.AddElement(parentItem, textChild); 359_parser.AddItem(parentOneOf, childItem); 370_parser.AddElement(parentRule, child); 376_parser.AddElement(parentItem, child);