Class Identifier
- Namespace
- ICSharpCode.Decompiler.CSharp.Syntax
- Assembly
- ICSharpCode.Decompiler.dll
public class Identifier : AstNode, IAnnotatable, IFreezable, INode, ICloneable
- Inheritance
-
Identifier
- Implements
- Inherited Members
- Extension Methods
Constructors
Identifier(string, TextLocation)
protected Identifier(string name, TextLocation location)
Parameters
name
stringlocation
TextLocation
Fields
Null
public static readonly Identifier Null
Field Value
Properties
EndLocation
public override TextLocation EndLocation { get; }
Property Value
IsVerbatim
public bool IsVerbatim { get; set; }
Property Value
Name
public string Name { get; set; }
Property Value
NodeType
public override NodeType NodeType { get; }
Property Value
StartLocation
public override TextLocation StartLocation { get; }
Property Value
Methods
AcceptVisitor(IAstVisitor)
public override void AcceptVisitor(IAstVisitor visitor)
Parameters
visitor
IAstVisitor
AcceptVisitor<T>(IAstVisitor<T>)
public override T AcceptVisitor<T>(IAstVisitor<T> visitor)
Parameters
visitor
IAstVisitor<T>
Returns
- T
Type Parameters
T
AcceptVisitor<T, S>(IAstVisitor<T, S>, T)
public override S AcceptVisitor<T, S>(IAstVisitor<T, S> visitor, T data)
Parameters
visitor
IAstVisitor<T, S>data
T
Returns
- S
Type Parameters
T
S
Create(string)
public static Identifier Create(string name)
Parameters
name
string
Returns
Create(string, TextLocation)
public static Identifier Create(string name, TextLocation location)
Parameters
name
stringlocation
TextLocation
Returns
Create(string, TextLocation, bool)
public static Identifier Create(string name, TextLocation location, bool isVerbatim)
Parameters
name
stringlocation
TextLocationisVerbatim
bool
Returns
DoMatch(AstNode, Match)
protected override bool DoMatch(AstNode other, Match match)