private ITypeName GetDeclaringType(TypeNamingParser.MethodDefinitionContext signature) { return(new TypeName(signature.type(1))); }
private string GetName(TypeNamingParser.MethodDefinitionContext signature) { return(signature.id().GetText()); }
private ITypeName GetValueType(TypeNamingParser.MethodDefinitionContext signature) { return(new TypeName(signature.type(0))); }
/// <summary> /// Exit a parse tree produced by <see cref="TypeNamingParser.methodDefinition"/>. /// <para>The default implementation does nothing.</para> /// </summary> /// <param name="context">The parse tree.</param> public virtual void ExitMethodDefinition([NotNull] TypeNamingParser.MethodDefinitionContext context) { }