Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RuleSettings.cs
- CodeFieldReferenceExpression.cs
- EncoderParameters.cs
- BinaryParser.cs
- LabelAutomationPeer.cs
- WebProxyScriptElement.cs
- JoinQueryOperator.cs
- PolicyUnit.cs
- SqlWebEventProvider.cs
- WindowsIdentity.cs
- InheritedPropertyChangedEventArgs.cs
- MailSettingsSection.cs
- VisualTarget.cs
- ClearTypeHintValidation.cs
- _FixedSizeReader.cs
- Currency.cs
- ThicknessKeyFrameCollection.cs
- HttpRequest.cs
- DataGridLinkButton.cs
- ResolvedKeyFrameEntry.cs
- SqlBinder.cs
- StylusPointProperties.cs
- DrawingContextWalker.cs
- SecurityUtils.cs
- MissingMemberException.cs
- NullableIntMinMaxAggregationOperator.cs
- FontFamilyValueSerializer.cs
- MDIClient.cs
- SessionStateItemCollection.cs
- UrlMapping.cs
- TemplateContainer.cs
- PartialCachingAttribute.cs
- ResourceCategoryAttribute.cs
- _NtlmClient.cs
- Identity.cs
- ScrollChrome.cs
- ClrProviderManifest.cs
- StateItem.cs
- Variable.cs
- SimpleWorkerRequest.cs
- SizeAnimationClockResource.cs
- GB18030Encoding.cs
- RtfToken.cs
- CommentGlyph.cs
- DocumentPageViewAutomationPeer.cs
- SecurityException.cs
- SmiTypedGetterSetter.cs
- AncestorChangedEventArgs.cs
- UsernameTokenFactoryCredential.cs
- URL.cs
- LingerOption.cs
- AssociationTypeEmitter.cs
- XmlSchemaSimpleContentExtension.cs
- CodeCompiler.cs
- BamlBinaryReader.cs
- DBSqlParserColumn.cs
- SimpleApplicationHost.cs
- TraversalRequest.cs
- SamlAttribute.cs
- PrivilegedConfigurationManager.cs
- NotImplementedException.cs
- TextEffect.cs
- IInstanceTable.cs
- TreeNodeCollectionEditorDialog.cs
- SeverityFilter.cs
- XmlDataProvider.cs
- BamlLocalizer.cs
- ObjectIDGenerator.cs
- XhtmlConformanceSection.cs
- AttachedAnnotation.cs
- ImageDrawing.cs
- DataStorage.cs
- FixedFlowMap.cs
- FreeIndexList.cs
- XmlReflectionMember.cs
- TransformerTypeCollection.cs
- TextCompositionManager.cs
- RootAction.cs
- AmbiguousMatchException.cs
- DecimalAnimationBase.cs
- ToolZone.cs
- SamlAssertionKeyIdentifierClause.cs
- _Connection.cs
- Button.cs
- SignatureToken.cs
- SequenceNumber.cs
- DBNull.cs
- UInt64.cs
- SqlDataSourceRefreshSchemaForm.cs
- XmlTypeAttribute.cs
- ElementNotAvailableException.cs
- PrivateFontCollection.cs
- OutputCacheModule.cs
- FormView.cs
- SerializationSectionGroup.cs
- objectresult_tresulttype.cs
- RepeatBehavior.cs
- Decoder.cs
- ObjectItemLoadingSessionData.cs
- _ReceiveMessageOverlappedAsyncResult.cs