Advertisement
Guest User

Untitled

a guest
Sep 27th, 2016
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. <interfaces> ::= <interface> {<interface>}
  2. <interface> ::= interface <name> [<extends>] ('{' [<methods>] [<interfaces>] '}')
  3.  
  4. <extends> ::= extends <name> {(',') <name>}
  5.  
  6. <type> ::= (<int> | <void> | <String> | <boolean>)
  7.  
  8. <declaration> ::= <type> <name>
  9.  
  10. <methods> ::= <method> { <method> }
  11.  
  12. <method> ::= <declaration> '(' [ <parameters> ] ')' ';'
  13.  
  14. <paramameters> ::= <declaration> { (',') <declaration> }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement