public string VisitExpression([NotNull] PhpParser.ExpressionContext context) { return(VisitChildren(context)); }
private Expression CreateSpecialInvocation(ITerminalNode specialMethodTerminal, PhpParser.ExpressionContext expression, TextSpan contextTextSpan) { var expression0 = (Expression)VisitExpression(expression); var result = new InvocationExpression( new IdToken(specialMethodTerminal.GetText(), specialMethodTerminal.GetTextSpan()), new ArgsUst(new List <Expression>() { expression0 }, expression.GetTextSpan()), contextTextSpan); return(result); }