public static ArrayIndexerNode Parse(Parser.Parser parser) { var ret = new ArrayIndexerNode(); parser.ExpectToken(TokenType.Bracket, "["); while (!parser.MatchToken(TokenType.Bracket, "]")) { ret.Children.Add(ExpressionNode.Parse(parser)); } parser.ExpectToken(TokenType.Bracket, "]"); return(ret); }