Exemplo n.º 1
0
 private ITypeName GetDeclaringType(TypeNamingParser.MethodDefinitionContext signature)
 {
     return(new TypeName(signature.type(1)));
 }
Exemplo n.º 2
0
 private string GetName(TypeNamingParser.MethodDefinitionContext signature)
 {
     return(signature.id().GetText());
 }
Exemplo n.º 3
0
 private ITypeName GetValueType(TypeNamingParser.MethodDefinitionContext signature)
 {
     return(new TypeName(signature.type(0)));
 }
Exemplo n.º 4
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)
 {
 }