Class IndexAccessNode

Assembly: redb.Route.dll

AST node representing index access on a collection/array (e.g. items[0]).

public class IndexAccessNode : AstNode

Inheritance

Object→AstNode→IndexAccessNode

Inherited Members

Properties

Index

Gets the AST node representing the index expression.

public AstNode Index { get; }

Object

Gets the AST node representing the object being indexed.

public AstNode Object { get; }

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Constructors

IndexAccessNode(AstNode, AstNode)

Initializes a new instance of the class.