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
- DataListItemEventArgs.cs
- ItemsPanelTemplate.cs
- RemotingSurrogateSelector.cs
- XmlDownloadManager.cs
- ExpressionConverter.cs
- ArgumentNullException.cs
- RegexMatchCollection.cs
- __Filters.cs
- MsmqIntegrationMessagePool.cs
- DocumentReference.cs
- XmlSchemaAnnotation.cs
- ByteKeyFrameCollection.cs
- DotNetATv1WindowsLogEntryDeserializer.cs
- EntityDataSourceReferenceGroup.cs
- DataGridViewMethods.cs
- WindowsTokenRoleProvider.cs
- ComponentResourceManager.cs
- SpeakInfo.cs
- AsymmetricAlgorithm.cs
- SafeFileHandle.cs
- DirectoryNotFoundException.cs
- DesignerCommandSet.cs
- Compiler.cs
- TransformationRules.cs
- SiteMapHierarchicalDataSourceView.cs
- HMACSHA256.cs
- ListViewGroup.cs
- RadioButton.cs
- InfoCardAsymmetricCrypto.cs
- AutomationPropertyInfo.cs
- ToolStripPanelRenderEventArgs.cs
- ActivityWithResultWrapper.cs
- GroupBoxAutomationPeer.cs
- CodeMemberProperty.cs
- TraceContextRecord.cs
- RemotingConfiguration.cs
- QuaternionIndependentAnimationStorage.cs
- ScalarType.cs
- InputProcessorProfiles.cs
- TagMapCollection.cs
- CacheSection.cs
- SessionStateItemCollection.cs
- StorageComplexPropertyMapping.cs
- BaseProcessor.cs
- NestedContainer.cs
- InstanceDataCollection.cs
- NativeCompoundFileAPIs.cs
- documentsequencetextcontainer.cs
- WorkflowMarkupSerializationException.cs
- ComboBox.cs
- Byte.cs
- SmiRequestExecutor.cs
- GroupLabel.cs
- ConfigurationValues.cs
- UnSafeCharBuffer.cs
- ControlValuePropertyAttribute.cs
- SiteMap.cs
- _FtpControlStream.cs
- TextEmbeddedObject.cs
- ReflectionServiceProvider.cs
- TemplateEditingVerb.cs
- METAHEADER.cs
- BadImageFormatException.cs
- TrackingMemoryStreamFactory.cs
- CodeRemoveEventStatement.cs
- WorkflowDebuggerSteppingAttribute.cs
- EventNotify.cs
- PageAsyncTask.cs
- PropertyChangedEventManager.cs
- HttpBufferlessInputStream.cs
- XmlKeywords.cs
- WindowProviderWrapper.cs
- PropertyEmitter.cs
- IpcServerChannel.cs
- CrossAppDomainChannel.cs
- TraceSource.cs
- XmlILAnnotation.cs
- PageContent.cs
- Evidence.cs
- AllMembershipCondition.cs
- ValueTypeFixupInfo.cs
- ProfessionalColors.cs
- Adorner.cs
- MetadataFile.cs
- Int32CAMarshaler.cs
- MachineKeyValidationConverter.cs
- ProxyElement.cs
- WebDisplayNameAttribute.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- GPRECT.cs
- KeyBinding.cs
- Keywords.cs
- CursorConverter.cs
- CodeDirectiveCollection.cs
- InvalidPrinterException.cs
- ProtectedConfigurationSection.cs
- Walker.cs
- Win32Native.cs
- BaseParaClient.cs
- TouchDevice.cs