Sha256: 7127994054aa641063280522cc182a41ff31afdc4b47ff6607bd2c890ebd519f
Contents?: true
Size: 475 Bytes
Versions: 2
Compression:
Stored size: 475 Bytes
Contents
module Slate grammar SlateTree rule document (target / space)* end rule target space? string space '{' space? function* space? '}' <Target> end rule function token space? (target / argument)* <Function> end rule argument string ','? space? <Argument> end rule token [a-zA-Z]+ <Token> end rule string '"' ('\"' / !'"' .)* '"' <String> end rule space [\s]+ end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
slate-0.2.0 | lib/slate/parser/slate_tree.treetop |
slate-0.1.0 | lib/slate/parser/slate_tree.treetop |