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
- PriorityQueue.cs
- ListDataHelper.cs
- CompoundFileDeflateTransform.cs
- CssTextWriter.cs
- XmlText.cs
- _NativeSSPI.cs
- OneToOneMappingSerializer.cs
- PageCatalogPart.cs
- HorizontalAlignConverter.cs
- WebPartsPersonalizationAuthorization.cs
- MatrixUtil.cs
- PropertyCondition.cs
- EntityStoreSchemaGenerator.cs
- ComAwareEventInfo.cs
- AmbiguousMatchException.cs
- NonParentingControl.cs
- CachedPathData.cs
- DbParameterCollectionHelper.cs
- UseLicense.cs
- LexicalChunk.cs
- ClientSponsor.cs
- Assert.cs
- TypedDataSetSchemaImporterExtension.cs
- AutomationIdentifier.cs
- WindowsHyperlink.cs
- RegistryHandle.cs
- NativeActivityAbortContext.cs
- ChineseLunisolarCalendar.cs
- ElementsClipboardData.cs
- NonceCache.cs
- Regex.cs
- RoutedCommand.cs
- PersonalizableAttribute.cs
- TextRenderer.cs
- PermissionSetTriple.cs
- ScriptManagerProxy.cs
- HijriCalendar.cs
- ComponentEvent.cs
- Maps.cs
- CreateSequenceResponse.cs
- EditorZoneBase.cs
- FontDriver.cs
- Int32Animation.cs
- HtmlInputControl.cs
- PathData.cs
- UpDownBase.cs
- UrlMapping.cs
- Schema.cs
- XmlMtomWriter.cs
- ModifiableIteratorCollection.cs
- XamlValidatingReader.cs
- Keyboard.cs
- ItemCheckEvent.cs
- JsonSerializer.cs
- CodeAccessPermission.cs
- CryptoKeySecurity.cs
- DecoderFallback.cs
- OneToOneMappingSerializer.cs
- MatrixKeyFrameCollection.cs
- UnitySerializationHolder.cs
- SQLResource.cs
- ServiceObjectContainer.cs
- AnnotationAdorner.cs
- Byte.cs
- PrintingPermission.cs
- MeshGeometry3D.cs
- BaseInfoTable.cs
- GridViewDeletedEventArgs.cs
- DbSourceParameterCollection.cs
- ProcessModelSection.cs
- InvalidOleVariantTypeException.cs
- DocumentPageTextView.cs
- Animatable.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- MetadataArtifactLoaderCompositeFile.cs
- OracleException.cs
- FilteredAttributeCollection.cs
- DataGridViewBand.cs
- ResourceProperty.cs
- SqlWebEventProvider.cs
- Emitter.cs
- MessageQueuePermissionEntryCollection.cs
- TextTreeExtractElementUndoUnit.cs
- DiagnosticTrace.cs
- NativeMethods.cs
- Tuple.cs
- TreeNodeBindingCollection.cs
- StreamInfo.cs
- CustomErrorCollection.cs
- PersonalizationProviderCollection.cs
- SrgsGrammarCompiler.cs
- EmptyCollection.cs
- DataStreamFromComStream.cs
- DomainLiteralReader.cs
- RegexGroupCollection.cs
- ScriptingRoleServiceSection.cs
- PreviewKeyDownEventArgs.cs
- SerializationInfoEnumerator.cs
- XmlDataSourceView.cs
- Durable.cs