Class Expr.Identifier
Represents an identifier, such as a variable name, a function name or a class.
Inheritance
System.Object
Expr.Identifier
Assembly: Perlang.Common.dll
Syntax
public class Identifier : Expr, ITokenAware
Constructors
|
Improve this Doc
View Source
Identifier(Token, Boolean)
Declaration
public Identifier(Token name, bool isCollection = false)
Parameters
Type |
Name |
Description |
Token |
name |
|
System.Boolean |
isCollection |
|
Properties
|
Improve this Doc
View Source
IsCollection
Declaration
public bool IsCollection { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Name
Declaration
public Token Name { get; }
Property Value
|
Improve this Doc
View Source
Token
Declaration
public Token Token { get; }
Property Value
Methods
|
Improve this Doc
View Source
Accept<TR>(Expr.IVisitor<TR>)
Declaration
public override TR Accept<TR>(Expr.IVisitor<TR> visitor)
Parameters
Returns
Type Parameters
Overrides
Perlang.Expr.Accept<TR>(Perlang.Expr.IVisitor<TR>)
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Implements