public override Node VisitPropertyName(ECMAScriptParser.PropertyNameContext context) { if (context.identifierName() != null) { return(Visit(context.identifierName())); } if (context.numericLiteral() != null) { return(Visit(context.numericLiteral())); } return(new StringLiteral(context, context.StringLiteral().Symbol.Text)); }
public UstNode VisitPropertyName([NotNull] ECMAScriptParser.PropertyNameContext context) { return(VisitChildren(context)); }