Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Speech / Src / Internal / SrgsCompiler / ParseElement.cs / 1 / ParseElement.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: // // History: // 11/15/2004 jeanfp Created from the Kurosawa Code //--------------------------------------------------------------------------- #region Using directives using System; using System.Collections.ObjectModel; using System.Speech.Internal.SrgsParser; #endregion namespace System.Speech.Internal.SrgsCompiler { // Elements of the ParseStack // SRGSNamespace.Grammar // _startState, _endState are ignored and set to 0. // SRGSNamespace.Rule // startElement() _startState = new Rule().InitialState // _endState = _startState (Updated by the child elements) // endElement() AddEpsilonTransition(_endState -> terminating state null) // SRGSNamespace.RuleRef/Token/Tag/Item(Parent!=OneOf) // startElement() _startState = Parent._startState // _endState = _startState (Updated by the child elements) // endElement() Parent._endState = _endState // SRGSNamespace.OneOf // startElement() _startState = Parent._startState // _endState = new State // endElement() Parent._endState = _endState // SRGSNamespace.Item(Parent==OneOf) // startElement() _startState = Parent._startState // _endState = _startState (Updated by the child elements) // endElement() AddEpsilonTransition(_endState -> Parent._endState) // SRGSNamespace.Example/Lexicon/Meta // _startState, _endState are ignored and set to 0. // SRGSNamespace.Metadata / Unknown.* // _startState, _endState are ignored and set to 0. // ParseElements is added to the stack, but not used. internal abstract class ParseElement : IElement // Compiler stack element { internal ParseElement (Rule rule) { _rule = rule; } #pragma warning disable 649 // Token - Required confidence internal int _confidence; #pragma warning restore 649 void IElement.PostParse (IElement parent) { } internal Rule _rule; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: // // History: // 11/15/2004 jeanfp Created from the Kurosawa Code //--------------------------------------------------------------------------- #region Using directives using System; using System.Collections.ObjectModel; using System.Speech.Internal.SrgsParser; #endregion namespace System.Speech.Internal.SrgsCompiler { // Elements of the ParseStack // SRGSNamespace.Grammar // _startState, _endState are ignored and set to 0. // SRGSNamespace.Rule // startElement() _startState = new Rule().InitialState // _endState = _startState (Updated by the child elements) // endElement() AddEpsilonTransition(_endState -> terminating state null) // SRGSNamespace.RuleRef/Token/Tag/Item(Parent!=OneOf) // startElement() _startState = Parent._startState // _endState = _startState (Updated by the child elements) // endElement() Parent._endState = _endState // SRGSNamespace.OneOf // startElement() _startState = Parent._startState // _endState = new State // endElement() Parent._endState = _endState // SRGSNamespace.Item(Parent==OneOf) // startElement() _startState = Parent._startState // _endState = _startState (Updated by the child elements) // endElement() AddEpsilonTransition(_endState -> Parent._endState) // SRGSNamespace.Example/Lexicon/Meta // _startState, _endState are ignored and set to 0. // SRGSNamespace.Metadata / Unknown.* // _startState, _endState are ignored and set to 0. // ParseElements is added to the stack, but not used. internal abstract class ParseElement : IElement // Compiler stack element { internal ParseElement (Rule rule) { _rule = rule; } #pragma warning disable 649 // Token - Required confidence internal int _confidence; #pragma warning restore 649 void IElement.PostParse (IElement parent) { } internal Rule _rule; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StringDictionary.cs
- GridViewUpdateEventArgs.cs
- HtmlHistory.cs
- _NestedSingleAsyncResult.cs
- SimpleApplicationHost.cs
- AsyncOperation.cs
- GenerateScriptTypeAttribute.cs
- ToolboxItemWrapper.cs
- initElementDictionary.cs
- M3DUtil.cs
- StrongNameMembershipCondition.cs
- InputProcessorProfiles.cs
- CharEntityEncoderFallback.cs
- ProcessModelSection.cs
- XmlNodeReader.cs
- WindowsStartMenu.cs
- DataGridViewButtonColumn.cs
- HtmlTableCell.cs
- X509ChainPolicy.cs
- SudsParser.cs
- HashCodeCombiner.cs
- ConsoleCancelEventArgs.cs
- SectionXmlInfo.cs
- ProxyElement.cs
- UnionExpr.cs
- TextTreeTextNode.cs
- FlowLayout.cs
- RenderCapability.cs
- EntityAdapter.cs
- SizeAnimationClockResource.cs
- LicenseManager.cs
- TemplateBindingExtension.cs
- NestedContainer.cs
- XNodeNavigator.cs
- AstTree.cs
- ViewLoader.cs
- HostAdapter.cs
- XmlWrappingReader.cs
- OracleConnection.cs
- CompensationDesigner.cs
- PolyLineSegment.cs
- SqlCacheDependency.cs
- SetterBaseCollection.cs
- ToolStripPanel.cs
- HttpModulesSection.cs
- SqlDataSourceFilteringEventArgs.cs
- Rights.cs
- StatusBarItemAutomationPeer.cs
- EncoderParameters.cs
- ExportOptions.cs
- HttpPostLocalhostServerProtocol.cs
- RecordBuilder.cs
- SelectedPathEditor.cs
- TextOnlyOutput.cs
- ScriptingRoleServiceSection.cs
- ClaimTypeElementCollection.cs
- LocatorPartList.cs
- TypeSemantics.cs
- SchemaTableOptionalColumn.cs
- ManagementOptions.cs
- RC2.cs
- IsolatedStorageFileStream.cs
- OpacityConverter.cs
- CollectionBuilder.cs
- SHA256Managed.cs
- ParameterModifier.cs
- FunctionUpdateCommand.cs
- SqlDataSourceCustomCommandPanel.cs
- Error.cs
- Span.cs
- XmlSerializationReader.cs
- WindowClosedEventArgs.cs
- AspNetHostingPermission.cs
- FileDialog.cs
- ConfigPathUtility.cs
- XmlCustomFormatter.cs
- RtfControlWordInfo.cs
- ImageSourceConverter.cs
- Vector3DCollectionValueSerializer.cs
- XmlSchemaSimpleTypeList.cs
- UriWriter.cs
- ObjectViewQueryResultData.cs
- EventHandlers.cs
- PropertyConverter.cs
- StructuralComparisons.cs
- DataBindEngine.cs
- Variant.cs
- IOException.cs
- UriScheme.cs
- ListControl.cs
- ControlParameter.cs
- StrongNameUtility.cs
- SQLBytesStorage.cs
- StorageSetMapping.cs
- ContentPlaceHolder.cs
- SymbolMethod.cs
- followingquery.cs
- MissingSatelliteAssemblyException.cs
- ReadOnlyHierarchicalDataSourceView.cs
- DataGridParentRows.cs