Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Regex / System / Text / RegularExpressions / RegexTree.cs / 1305376 / RegexTree.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- // RegexTree is just a wrapper for a node tree with some // global information attached. namespace System.Text.RegularExpressions { using System.Collections; using System.Collections.Generic; internal sealed class RegexTree { #if SILVERLIGHT internal RegexTree(RegexNode root, Dictionarycaps, Int32[] capnumlist, int captop, Dictionary capnames, String[] capslist, RegexOptions opts) #else internal RegexTree(RegexNode root, Hashtable caps, Int32[] capnumlist, int captop, Hashtable capnames, String[] capslist, RegexOptions opts) #endif { _root = root; _caps = caps; _capnumlist = capnumlist; _capnames = capnames; _capslist = capslist; _captop = captop; _options = opts; } internal RegexNode _root; #if SILVERLIGHT internal Dictionary _caps; #else internal Hashtable _caps; #endif internal Int32[] _capnumlist; #if SILVERLIGHT internal Dictionary _capnames; #else internal Hashtable _capnames; #endif internal String[] _capslist; internal RegexOptions _options; internal int _captop; #if DBG internal void Dump() { _root.Dump(); } internal bool Debug { get { return(_options & RegexOptions.Debug) != 0; } } #endif } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- // RegexTree is just a wrapper for a node tree with some // global information attached. namespace System.Text.RegularExpressions { using System.Collections; using System.Collections.Generic; internal sealed class RegexTree { #if SILVERLIGHT internal RegexTree(RegexNode root, Dictionarycaps, Int32[] capnumlist, int captop, Dictionary capnames, String[] capslist, RegexOptions opts) #else internal RegexTree(RegexNode root, Hashtable caps, Int32[] capnumlist, int captop, Hashtable capnames, String[] capslist, RegexOptions opts) #endif { _root = root; _caps = caps; _capnumlist = capnumlist; _capnames = capnames; _capslist = capslist; _captop = captop; _options = opts; } internal RegexNode _root; #if SILVERLIGHT internal Dictionary _caps; #else internal Hashtable _caps; #endif internal Int32[] _capnumlist; #if SILVERLIGHT internal Dictionary _capnames; #else internal Hashtable _capnames; #endif internal String[] _capslist; internal RegexOptions _options; internal int _captop; #if DBG internal void Dump() { _root.Dump(); } internal bool Debug { get { return(_options & RegexOptions.Debug) != 0; } } #endif } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SafeNativeMethods.cs
- WebServiceTypeData.cs
- RtfToXamlLexer.cs
- TextCollapsingProperties.cs
- UInt64.cs
- TheQuery.cs
- TextDecoration.cs
- HandleExceptionArgs.cs
- XmlSchemaValidationException.cs
- CodeSnippetExpression.cs
- BuiltInExpr.cs
- Int16AnimationUsingKeyFrames.cs
- BitSet.cs
- IgnoreFileBuildProvider.cs
- BitmapDownload.cs
- ListBox.cs
- DefaultProxySection.cs
- ConfigurationManagerInternalFactory.cs
- AnonymousIdentificationSection.cs
- XmlWellformedWriterHelpers.cs
- AppSettingsExpressionBuilder.cs
- Opcode.cs
- SiteMapNodeCollection.cs
- IconHelper.cs
- input.cs
- WebPartCloseVerb.cs
- OdbcException.cs
- RewritingProcessor.cs
- ScriptServiceAttribute.cs
- DocumentSequenceHighlightLayer.cs
- CollectionType.cs
- xsdvalidator.cs
- StoreContentChangedEventArgs.cs
- DbCommandTree.cs
- ComContractElement.cs
- Stackframe.cs
- Int32.cs
- ADMembershipProvider.cs
- XamlSerializationHelper.cs
- DropDownButton.cs
- ProtocolsConfiguration.cs
- _FtpControlStream.cs
- Variant.cs
- UnauthorizedAccessException.cs
- SQLInt64Storage.cs
- DataSourceControl.cs
- SplitterPanel.cs
- JoinQueryOperator.cs
- CustomExpression.cs
- WebBrowserHelper.cs
- TimelineGroup.cs
- SqlSupersetValidator.cs
- SafeNativeMethodsMilCoreApi.cs
- AxHostDesigner.cs
- DotExpr.cs
- WebExceptionStatus.cs
- NullExtension.cs
- TreeViewAutomationPeer.cs
- XmlSchemaAttribute.cs
- CollectionConverter.cs
- UserControl.cs
- UIElementPropertyUndoUnit.cs
- SafeNativeMethods.cs
- SequenceDesignerAccessibleObject.cs
- _BaseOverlappedAsyncResult.cs
- OleServicesContext.cs
- CustomErrorCollection.cs
- XmlSchema.cs
- SettingsAttributeDictionary.cs
- NativeObjectSecurity.cs
- ComponentEvent.cs
- WebExceptionStatus.cs
- CompilerTypeWithParams.cs
- _DomainName.cs
- ViewStateModeByIdAttribute.cs
- SizeAnimationBase.cs
- WebServiceHandlerFactory.cs
- GPRECT.cs
- DrawingContextDrawingContextWalker.cs
- ValueUnavailableException.cs
- CustomPopupPlacement.cs
- ClientOptions.cs
- PropertyChangedEventArgs.cs
- FontSourceCollection.cs
- ComponentCommands.cs
- DiscardableAttribute.cs
- ToolBarTray.cs
- PartialToken.cs
- IItemContainerGenerator.cs
- KeySplineConverter.cs
- AutomationPropertyInfo.cs
- SurrogateSelector.cs
- CharEntityEncoderFallback.cs
- ConfigXmlWhitespace.cs
- Evaluator.cs
- DisplayMemberTemplateSelector.cs
- StringPropertyBuilder.cs
- EditorZone.cs
- SqlVisitor.cs
- InputBinding.cs