Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / Activities / Rules / Parser / Token.cs / 1305376 / Token.cs
#region Using directives using System; using System.Collections.Generic; using System.Text; #endregion namespace System.Workflow.Activities.Rules { internal enum TokenID { Unknown, Identifier, Dot, Comma, LParen, RParen, Plus, // + Minus, // - Divide, // / Multiply, // * Modulus, // MOD BitAnd, // & BitOr, // | And, // AND, && Or, // OR, || Not, // NOT, ! Equal, // == NotEqual, // !=, <> Less, // < LessEqual, // <= Greater, // > GreaterEqual, // >= StringLiteral, // " ... " CharacterLiteral, // ' ... ' IntegerLiteral, DecimalLiteral, FloatLiteral, True, False, Null, This, In, Out, Ref, Assign, TypeName, Update, Halt, Semicolon, // ; LBracket, // [ RBracket, // ] LCurlyBrace, // { RCurlyBrace, // } New, Illegal, EndOfInput } internal class Token { internal TokenID TokenID; internal int StartPosition; internal object Value; internal Token(TokenID tokenID, int position, object value) { this.TokenID = tokenID; this.StartPosition = position; this.Value = value; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. #region Using directives using System; using System.Collections.Generic; using System.Text; #endregion namespace System.Workflow.Activities.Rules { internal enum TokenID { Unknown, Identifier, Dot, Comma, LParen, RParen, Plus, // + Minus, // - Divide, // / Multiply, // * Modulus, // MOD BitAnd, // & BitOr, // | And, // AND, && Or, // OR, || Not, // NOT, ! Equal, // == NotEqual, // !=, <> Less, // < LessEqual, // <= Greater, // > GreaterEqual, // >= StringLiteral, // " ... " CharacterLiteral, // ' ... ' IntegerLiteral, DecimalLiteral, FloatLiteral, True, False, Null, This, In, Out, Ref, Assign, TypeName, Update, Halt, Semicolon, // ; LBracket, // [ RBracket, // ] LCurlyBrace, // { RCurlyBrace, // } New, Illegal, EndOfInput } internal class Token { internal TokenID TokenID; internal int StartPosition; internal object Value; internal Token(TokenID tokenID, int position, object value) { this.TokenID = tokenID; this.StartPosition = position; this.Value = value; } } } // 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
- BigInt.cs
- SmtpException.cs
- MarkupWriter.cs
- Dictionary.cs
- FlowPosition.cs
- RootBrowserWindow.cs
- StandardCommands.cs
- ProcessRequestArgs.cs
- ParamArrayAttribute.cs
- TextBox.cs
- SchemaInfo.cs
- SafeHandles.cs
- COMException.cs
- DataBindEngine.cs
- ZipIOLocalFileDataDescriptor.cs
- HeaderedContentControl.cs
- Permission.cs
- IImplicitResourceProvider.cs
- COM2Properties.cs
- EdmEntityTypeAttribute.cs
- ClientConfigPaths.cs
- Tile.cs
- QuaternionValueSerializer.cs
- BitVector32.cs
- InlineUIContainer.cs
- DataGridViewColumnEventArgs.cs
- ParameterToken.cs
- RootBrowserWindowProxy.cs
- RegexMatch.cs
- CompositeDuplexBindingElement.cs
- Int64Animation.cs
- XXXInfos.cs
- DescendantBaseQuery.cs
- EndpointIdentity.cs
- ResolveDuplexCD1AsyncResult.cs
- SafeHandles.cs
- UnmanagedMarshal.cs
- ActiveDesignSurfaceEvent.cs
- HScrollBar.cs
- ProfileProvider.cs
- SqlMethods.cs
- ProofTokenCryptoHandle.cs
- InstallerTypeAttribute.cs
- SpecialNameAttribute.cs
- DockingAttribute.cs
- LinqDataSourceDeleteEventArgs.cs
- X509AudioLogo.cs
- AddInStore.cs
- CodeCastExpression.cs
- RemoveStoryboard.cs
- SoapInteropTypes.cs
- EventSetter.cs
- DbReferenceCollection.cs
- X509ChainElement.cs
- ListenerUnsafeNativeMethods.cs
- FormsAuthenticationCredentials.cs
- InitializerFacet.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- WpfSharedBamlSchemaContext.cs
- SecurityElement.cs
- HttpWebRequest.cs
- TextFormatterContext.cs
- BlockCollection.cs
- TextSelection.cs
- AuthenticodeSignatureInformation.cs
- GenericWebPart.cs
- HandleCollector.cs
- ApplyTemplatesAction.cs
- CodeAttributeArgumentCollection.cs
- DataGridViewRowHeaderCell.cs
- MarkupCompiler.cs
- CachingHintValidation.cs
- CancelEventArgs.cs
- SoapCodeExporter.cs
- GridViewEditEventArgs.cs
- CodeMemberMethod.cs
- Utils.cs
- ServiceReference.cs
- ByValueEqualityComparer.cs
- InvalidateEvent.cs
- cookiecontainer.cs
- ScriptResourceAttribute.cs
- UdpDiscoveryEndpointProvider.cs
- RoutedEvent.cs
- ApplicationInfo.cs
- SqlNamer.cs
- AtomContentProperty.cs
- SqlCrossApplyToCrossJoin.cs
- MtomMessageEncodingBindingElement.cs
- BooleanConverter.cs
- CalendarDesigner.cs
- CommandHelpers.cs
- Selection.cs
- MetadataPropertyCollection.cs
- CharacterBuffer.cs
- XmlBinaryReader.cs
- ReaderWriterLockSlim.cs
- DataDocumentXPathNavigator.cs
- SpecialFolderEnumConverter.cs
- ImageSourceConverter.cs