Class MemberDeclarationNamedIdentifier
- Assembly
- TimeCockpit.Data.dll
AST Node represents a named identifier in a select new statement. E.g. In
From X In Timesheets Select New With { .Y = X }
"X" is represented by an instance of this node type.
public class MemberDeclarationNamedIdentifier : MemberDeclaration
- Inheritance
-
ObjectMemberDeclarationNamedIdentifier
- Inherited Members
-
Object.ToString()Object.Equals(Object)Object.Equals(Object, Object)Object.ReferenceEquals(Object, Object)Object.GetHashCode()Object.GetType()Object.MemberwiseClone()
Constructors
MemberDeclarationNamedIdentifier(String, String)
Initializes a new instance of the MemberDeclarationNamedIdentifier class.
public MemberDeclarationNamedIdentifier(string name, string identifier)
Parameters
nameStringThe name of the member.
identifierStringThe identifier the member represents.
Properties
Identifier
Gets the identifier.
public string Identifier { get; }
Property Value
- String
Name
Gets the name
public string Name { get; }
Property Value
- String
Methods
Accept(Visitor)
Dispatches to the VisitMemberDeclaratorNamedIdentifier(MemberDeclarationNamedIdentifier) method.
public override Node Accept(Visitor visitor)
Parameters
visitorVisitorThe visitor to accept.
Returns
- Node
Returns the value returned by the call to VisitMemberDeclaratorNamedIdentifier(MemberDeclarationNamedIdentifier).