Coder Social home page Coder Social logo

scaleupstack / annotations Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 59 KB

Annotations parser for classical DocBlock-style annotations and an extended multi-line declaration

License: Other

PHP 100.00%
annotations docblock-style docblock metadata php php7 parser phpdoc phpdocumentor phpdoc-parser

annotations's Introduction

ScaleUpStack/Annotations

About

This library allows to read annotations in the classical DocBlock style including an extended multi-line declaration.

The built-in set of supported annotations can be extended easily by project-specific extensions.

Installation

Use Composer to install this library:

$ composer require scaleupstack/annotations

Introduction

This library is not yet documented. But perhaps scaleupstack/metadata can be helpful to find out how to use it.

TODO: to be done

Current State

This library has been developed with a special intention in mind. It will evolve in the context of scaleupstack/metadata, and scaleupstack/easy-object.

This results in some known limitations that are no high-priority for this intended purpose.

  • E.g. not all allowed class names in @var are supported (e.g. UTF-8 special chars).

  • Only a sub-set of phpDocumentor annotation tags are built-in.

  • Some limitations are perhaps very strict.

If you are missing anything, feel free to contact me, or create a pull request.

Currently these built-in annotations are implemented:

  • @method

  • @property-read

  • @var

All other annotations are represented as UnknownAnnotation.

Contribute

Thanks that you want to contribute to ScaleUpStack/Annotations.

License

Please check LICENSE.md in the root dir of this package.

Copyright

ScaleUpVentures Gmbh, Germany
Thomas Nunninger [email protected]
www.scaleupventures.com

annotations's People

Contributors

thomasnunninger avatar

Watchers

 avatar  avatar

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.