Table of Contents

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 string
location TextLocation

Fields

Null

public static readonly Identifier Null

Field Value

Identifier

Properties

EndLocation

public override TextLocation EndLocation { get; }

Property Value

TextLocation

IsVerbatim

public bool IsVerbatim { get; set; }

Property Value

bool

Name

public string Name { get; set; }

Property Value

string

NodeType

public override NodeType NodeType { get; }

Property Value

NodeType

StartLocation

public override TextLocation StartLocation { get; }

Property Value

TextLocation

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

Identifier

Create(string, TextLocation)

public static Identifier Create(string name, TextLocation location)

Parameters

name string
location TextLocation

Returns

Identifier

Create(string, TextLocation, bool)

public static Identifier Create(string name, TextLocation location, bool isVerbatim)

Parameters

name string
location TextLocation
isVerbatim bool

Returns

Identifier

DoMatch(AstNode, Match)

protected override bool DoMatch(AstNode other, Match match)

Parameters

other AstNode
match Match

Returns

bool