Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / Xml / System / Xml / XPath / Internal / Operator.cs / 2 / Operator.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace MS.Internal.Xml.XPath { using System; using System.Xml; using System.Xml.XPath; using System.Diagnostics; using System.Globalization; internal class Operator : AstNode { public enum Op { LT, GT, LE, GE, EQ, NE, OR, AND, PLUS, MINUS, MUL, MOD, DIV, UNION, INVALID }; private Op opType; private AstNode opnd1; private AstNode opnd2; public Operator(Op op, AstNode opnd1, AstNode opnd2) { this.opType = op; this.opnd1 = opnd1; this.opnd2 = opnd2; } public override AstType Type { get {return AstType.Operator;} } public override XPathResultType ReturnType { get { if (opType < Op.PLUS) { return XPathResultType.Boolean; } if (opType < Op.UNION) { return XPathResultType.Number; } return XPathResultType.NodeSet; } } public Op OperatorType { get { return opType; } } public AstNode Operand1 { get { return opnd1; } } public AstNode Operand2 { get { return opnd2; } } } } // 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
- TextServicesContext.cs
- TypedOperationInfo.cs
- NullEntityWrapper.cs
- StructuredTypeEmitter.cs
- ListItemParagraph.cs
- WindowsComboBox.cs
- CultureInfoConverter.cs
- HTTPNotFoundHandler.cs
- PropertyNames.cs
- EntityClassGenerator.cs
- CompilerError.cs
- CommonProperties.cs
- FieldNameLookup.cs
- ClientTarget.cs
- altserialization.cs
- TextBox.cs
- ToolStripItemClickedEventArgs.cs
- WindowsListViewScroll.cs
- ScrollPattern.cs
- _CookieModule.cs
- shaperfactoryquerycachekey.cs
- LabelAutomationPeer.cs
- Attribute.cs
- DocumentGridPage.cs
- SoapProtocolImporter.cs
- GlyphsSerializer.cs
- LogicalExpr.cs
- TransactionTable.cs
- Dictionary.cs
- HttpConfigurationSystem.cs
- NamedPermissionSet.cs
- MediaElement.cs
- LookupNode.cs
- MetadataSource.cs
- _Win32.cs
- TypeElementCollection.cs
- TrackingProfileManager.cs
- ScalarOps.cs
- ByteStorage.cs
- Span.cs
- PerfProviderCollection.cs
- RootAction.cs
- TablePatternIdentifiers.cs
- DataGridViewUtilities.cs
- LocationSectionRecord.cs
- glyphs.cs
- Double.cs
- FamilyMapCollection.cs
- PublishLicense.cs
- Parser.cs
- PageStatePersister.cs
- CodeGotoStatement.cs
- PropertyEntry.cs
- SpoolingTaskBase.cs
- Utility.cs
- WindowsComboBox.cs
- StringUtil.cs
- TriggerAction.cs
- HtmlElementCollection.cs
- BamlBinaryWriter.cs
- ComplexBindingPropertiesAttribute.cs
- XmlUtilWriter.cs
- WinEventWrap.cs
- DesignerLoader.cs
- HyperLinkField.cs
- HtmlSelect.cs
- SecurityChannelListener.cs
- SymmetricAlgorithm.cs
- RichTextBoxConstants.cs
- EdmPropertyAttribute.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- LogicalTreeHelper.cs
- DeflateStream.cs
- InitializingNewItemEventArgs.cs
- HttpCacheVary.cs
- PackagePart.cs
- KeyNameIdentifierClause.cs
- XmlCodeExporter.cs
- ValueProviderWrapper.cs
- HierarchicalDataTemplate.cs
- IntSecurity.cs
- WebPartTransformer.cs
- RowsCopiedEventArgs.cs
- DataException.cs
- EncoderParameters.cs
- SystemIPv6InterfaceProperties.cs
- WorkflowEnvironment.cs
- UseAttributeSetsAction.cs
- _SafeNetHandles.cs
- Library.cs
- DriveInfo.cs
- QuaternionAnimation.cs
- OleDbErrorCollection.cs
- MetadataItemEmitter.cs
- EndPoint.cs
- TemplateBindingExpression.cs
- RequestBringIntoViewEventArgs.cs
- IsolatedStorageException.cs
- RadioButtonFlatAdapter.cs
- DataBindingHandlerAttribute.cs