public static FTL.AST.INode ParseWithIdentifier( CharStream stream, FTL.AST.StringPrimitive identifier) { if (MemberExpression.Peek(stream)) { return(MemberExpression.Parse(stream, identifier)); } if (CallExpression.Peek(stream)) { return(CallExpression.Parse(stream, identifier)); } return(new FTL.AST.Reference(identifier)); }