Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Regex / System / Text / RegularExpressions / RegexTree.cs / 1 / 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;
internal sealed class RegexTree {
internal RegexTree(RegexNode root, Hashtable caps, Object[] capnumlist, int captop, Hashtable capnames, String[] capslist, RegexOptions opts) {
_root = root;
_caps = caps;
_capnumlist = capnumlist;
_capnames = capnames;
_capslist = capslist;
_captop = captop;
_options = opts;
}
internal RegexNode _root;
internal Hashtable _caps;
internal Object[] _capnumlist;
internal Hashtable _capnames;
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
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- LockRecursionException.cs
- TabletDeviceInfo.cs
- GridSplitter.cs
- OptimizedTemplateContentHelper.cs
- CompositeClientFormatter.cs
- EncryptedXml.cs
- EventTrigger.cs
- ProcessHostConfigUtils.cs
- SimpleWebHandlerParser.cs
- CommandLibraryHelper.cs
- WorkflowDefinitionContext.cs
- PerformanceCounterPermissionEntryCollection.cs
- PageStatePersister.cs
- XhtmlBasicPageAdapter.cs
- AccessedThroughPropertyAttribute.cs
- PrintingPermission.cs
- SerialPort.cs
- SessionEndedEventArgs.cs
- FileVersion.cs
- ThreadInterruptedException.cs
- NodeLabelEditEvent.cs
- DropSource.cs
- PrintingPermission.cs
- HandleCollector.cs
- DateTimePicker.cs
- AsyncOperationManager.cs
- CopyCodeAction.cs
- CodeTypeDeclaration.cs
- SignatureHelper.cs
- WebPartHelpVerb.cs
- NotSupportedException.cs
- RawAppCommandInputReport.cs
- DataServiceRequestException.cs
- PropertyManager.cs
- WebServiceData.cs
- TextParagraph.cs
- DataGridViewMethods.cs
- ComponentEditorPage.cs
- WorkflowMarkupElementEventArgs.cs
- ClientProxyGenerator.cs
- RemotingConfigParser.cs
- StateManagedCollection.cs
- HierarchicalDataSourceControl.cs
- SamlAssertionKeyIdentifierClause.cs
- BindingExpressionUncommonField.cs
- OdbcError.cs
- ImageButton.cs
- MetadataFile.cs
- Resources.Designer.cs
- HttpDebugHandler.cs
- TypedServiceChannelBuilder.cs
- FreezableCollection.cs
- AdRotator.cs
- StringUtil.cs
- TreeNodeMouseHoverEvent.cs
- MethodToken.cs
- Util.cs
- RegistrationServices.cs
- SpoolingTask.cs
- SrgsText.cs
- ConnectionPoolManager.cs
- XmlName.cs
- Decimal.cs
- LateBoundBitmapDecoder.cs
- AnonymousIdentificationModule.cs
- OleStrCAMarshaler.cs
- HtmlInputCheckBox.cs
- MsmqIntegrationMessageProperty.cs
- X509ChainPolicy.cs
- FormView.cs
- WebServiceEnumData.cs
- wmiprovider.cs
- NetPeerTcpBindingElement.cs
- DeclarationUpdate.cs
- WebBrowserEvent.cs
- BooleanExpr.cs
- XmlCustomFormatter.cs
- EnterpriseServicesHelper.cs
- CodeIdentifiers.cs
- ListBox.cs
- Reference.cs
- ConfigXmlComment.cs
- CultureInfo.cs
- Native.cs
- Compilation.cs
- NotImplementedException.cs
- RootProfilePropertySettingsCollection.cs
- ProjectionPlanCompiler.cs
- RowToFieldTransformer.cs
- OpCodes.cs
- SchemaMerger.cs
- XmlCustomFormatter.cs
- XLinq.cs
- CodeIdentifier.cs
- GeneralTransform3D.cs
- WebRequestModuleElementCollection.cs
- TileBrush.cs
- HttpAsyncResult.cs
- ItemList.cs
- TextEmbeddedObject.cs