Giter VIP home page Giter VIP logo

Comments (4)

barefootcoder avatar barefootcoder commented on June 19, 2024

The trick here, as I see it, is to figure out how to pass information between Method::Signatures::Parser::split_proto, which splits the signature into prototypes, and parse_func, which splits each prototype into its individual components. split_proto already uses PPI, but parse_func does not. So either parse_func has to use PPI on the same stuff that's already been PPI-parsed once (inefficient), or split_proto has to return something a hell of a lot more complex than an array of prototypes.

from method-signatures.

schwern avatar schwern commented on June 19, 2024

I suspect the real answer is to have a real object representing a signature while parsing. Then methods can store and modify things on the object rather than pass them around.

from method-signatures.

barefootcoder avatar barefootcoder commented on June 19, 2024

I think this may be address by version 20121201. Is there more to do here?

from method-signatures.

schwern avatar schwern commented on June 19, 2024

I'm going to close this. If there's specific bits which don't use PPI we want to address we can do that in a new issue.

from method-signatures.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.