Class Expr.Index
Inheritance
System.Object
Expr.Index
Assembly: Perlang.Common.dll
Syntax
public class Index : Expr, ITokenAware
Constructors
|
Improve this Doc
View Source
Index(Expr, Token, Expr)
Declaration
public Index(Expr indexee, Token closingBracket, Expr argument)
Parameters
Type |
Name |
Description |
Expr |
indexee |
|
Token |
closingBracket |
|
Expr |
argument |
|
Properties
|
Improve this Doc
View Source
Argument
Gets the position in the object being indexed to retrieve.
Declaration
public Expr Argument { get; }
Property Value
|
Improve this Doc
View Source
ClosingBracket
Declaration
public Token ClosingBracket { get; }
Property Value
|
Improve this Doc
View Source
Indexee
Gets the object being indexed.
Declaration
public Expr Indexee { 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>)
Implements