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
- XomlCompilerHelpers.cs
- ReadWriteObjectLock.cs
- MiniLockedBorderGlyph.cs
- RedirectionProxy.cs
- PathGradientBrush.cs
- Matrix3DConverter.cs
- DefaultEvaluationContext.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- BindStream.cs
- WindowsSpinner.cs
- RegularExpressionValidator.cs
- AssociationSet.cs
- SmtpException.cs
- AuthorizationSection.cs
- SoapExtensionReflector.cs
- EventOpcode.cs
- XamlContextStack.cs
- KnownTypeHelper.cs
- DropDownList.cs
- StateBag.cs
- TypeListConverter.cs
- QueueProcessor.cs
- ManifestSignedXml.cs
- ICollection.cs
- DelayLoadType.cs
- ContentAlignmentEditor.cs
- FullTrustAssemblyCollection.cs
- OutputCache.cs
- OleDbFactory.cs
- CorrelationTokenTypeConvertor.cs
- ControlSerializer.cs
- JsonFormatMapping.cs
- smtppermission.cs
- MatrixUtil.cs
- RenderTargetBitmap.cs
- followingquery.cs
- StatusBarPanelClickEvent.cs
- PolicyImporterElement.cs
- Int32Rect.cs
- WebMessageBodyStyleHelper.cs
- ForeignKeyFactory.cs
- NonParentingControl.cs
- Resources.Designer.cs
- Expander.cs
- UnsafeNativeMethods.cs
- ResourceIDHelper.cs
- EmulateRecognizeCompletedEventArgs.cs
- PageTheme.cs
- CanonicalXml.cs
- FileLoadException.cs
- QilScopedVisitor.cs
- XmlSchemaAnyAttribute.cs
- StatusBar.cs
- ImageSourceConverter.cs
- ItemsChangedEventArgs.cs
- InkCollectionBehavior.cs
- XamlClipboardData.cs
- TextTreeExtractElementUndoUnit.cs
- Reference.cs
- TextProviderWrapper.cs
- EncoderNLS.cs
- ValueSerializerAttribute.cs
- MessageTraceRecord.cs
- XmlQueryCardinality.cs
- GroupBoxDesigner.cs
- CompiledELinqQueryState.cs
- XmlQueryContext.cs
- PerfService.cs
- VectorCollection.cs
- XmlCollation.cs
- ObjectAnimationBase.cs
- Matrix3DStack.cs
- XPathMultyIterator.cs
- TagNameToTypeMapper.cs
- WebRequestModuleElementCollection.cs
- LingerOption.cs
- XmlBinaryReader.cs
- ModifierKeysConverter.cs
- recordstatefactory.cs
- BufferedGraphics.cs
- ReceiveErrorHandling.cs
- TypeInfo.cs
- SAPIEngineTypes.cs
- CompositeFontInfo.cs
- future.cs
- ToolStripRendererSwitcher.cs
- Helpers.cs
- WorkflowDurableInstance.cs
- AddInAdapter.cs
- XmlLanguageConverter.cs
- XmlElement.cs
- EllipseGeometry.cs
- ComponentEvent.cs
- BitmapDecoder.cs
- EncodingDataItem.cs
- Accessible.cs
- XsltException.cs
- ExpressionDumper.cs
- XmlValidatingReader.cs
- UrlMappingCollection.cs