Skip to content

Commit

Permalink
add railroad syntax diagram to README [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
marcioAlmada committed Sep 14, 2014
1 parent 856bb12 commit 8af6780
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,9 @@ Please refer to annotations bag public [API](#minimeannotationsreader) for more

## The Default Syntax

According to the default `Parser`, annotations are declared through a very simple DSL:
![@(<namespace><namespace-delimiter>)?<annotation-identifier> <type>? <value>?](https://dl.dropboxusercontent.com/u/49549530/annotations/grammar.png)

```
@(<namespace><namespace-delimiter>)?<annotation-identifier> <type>? <value>?
```
Which basically means that:

- `@` line must start with a docblock annotation tag
- must have an annotation identifier
Expand Down

0 comments on commit 8af6780

Please sign in to comment.