public override BaseSchemaMember VisitRpc_decl([NotNull] FlatBuffersParser.Rpc_declContext context) { var top = this.parseStack.Peek(); ErrorContext.Current.WithScope(top.FullName, () => { RpcDefinition def = new RpcVisitor(top).Visit(context); top.AddChild(def); }); return(null); }
public override RpcDefinition VisitRpc_decl([NotNull] FlatBuffersParser.Rpc_declContext context) { this.rpcDefinition = new RpcDefinition(context.IDENT().GetText(), this.parent); base.VisitRpc_decl(context); return(this.rpcDefinition); }