protected static IndexExpression GetIndexExpression(ASTNode Base, ASTNode Indexer) { var exp = new IndexExpression(Base.Parent, Base.Scope, new List <LToken> ( )); exp.SetBase(Base); exp.SetIndexer(Indexer); return(exp); }