-
-
Save fjolnir/9095087 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
layout ::= rules. | |
rules ::= rule. | |
rules ::= rules rule. | |
rule ::= orientation superview connection view connection superview | |
view ::= LBRACKET className selectors predicateList RBRACKET | |
LBRACE layout RBRACE. | |
selectors ::= selector. | |
selectors ::= selectors SEMICOLON selector. | |
selector ::= selectorPart. | |
selector ::= selector selectorPart. | |
selectorPart ::= IDENT COLON literal. | |
selectorPart ::= IDENT ASGN literal. | |
orientation ::= H COLON. | |
orientation ::= V COLON. | |
superview ::= PIPE. | |
connection ::= DASH predicateList DASH | |
connection ::= DASH simplePredicate DASH | |
connection ::= DASH | |
predicateList ::= LPAREN predicateList_ RPARENT | |
predicateList_ ::= predicate. | |
predicateList_ ::= predicateList_ predicate. | |
simplePredicate ::= metricName. | |
simplePredicate ::= NUMBER. | |
predicate ::= objectOfPredicate. | |
predicate ::= relation objectOfPredicate. | |
predicate ::= objectOfPredicate priority. | |
predicate ::= relation objectOfPredicate priority. | |
metricName ::= STRING. | |
relation ::= EQ. | |
relation ::= LEQ. | |
relation ::= GEQ. | |
priority ::= AT NUMBER. | |
literal ::= NUMBER. | |
literal ::= STRING. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment