public override ExpressionNode VisitMember_specification([NotNull] mdxParser.Member_specificationContext context) { MembersNode node = new MembersNode(); NumberNode k = (NumberNode)Visit(context.member_name()); node.MemberName = k.Value; node.Dimensions = Visit(context.value_expression()); return(node); }
/// <summary> /// Exit a parse tree produced by <see cref="mdxParser.member_specification"/>. /// <para>The default implementation does nothing.</para> /// </summary> /// <param name="context">The parse tree.</param> public virtual void ExitMember_specification([NotNull] mdxParser.Member_specificationContext context) { }
/// <summary> /// Visit a parse tree produced by <see cref="mdxParser.member_specification"/>. /// <para> /// The default implementation returns the result of calling <see cref="AbstractParseTreeVisitor{Result}.VisitChildren(IRuleNode)"/> /// on <paramref name="context"/>. /// </para> /// </summary> /// <param name="context">The parse tree.</param> /// <return>The visitor result.</return> public virtual Result VisitMember_specification([NotNull] mdxParser.Member_specificationContext context) { return(VisitChildren(context)); }