19.11.2014 Views

The Fortress Language Specification - CiteSeerX

The Fortress Language Specification - CiteSeerX

The Fortress Language Specification - CiteSeerX

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

-> provided_clause<br />

-> comma_sep_exprs<br />

invariant_opt<br />

-><br />

-> w "invariant" w "{" w comma_sep_exprs w "}"<br />

trait_decl<br />

-> mods_opt<br />

"trait" w<br />

id<br />

type_params_opt<br />

extends_opt<br />

excludes_opt<br />

comprises_opt<br />

where_opt<br />

fn_decls_or_property_opt<br />

w "end"<br />

trait_def<br />

-> mods_opt<br />

"trait" w<br />

id<br />

type_params_opt<br />

extends_opt<br />

excludes_opt<br />

comprises_opt<br />

where_opt<br />

fn_def_or_decls_or_property_opt<br />

w "end"<br />

extends_opt<br />

-><br />

-> w extends<br />

extends<br />

-> "extends" w type_ref<br />

-> "extends" w type_ref_list_nonempty<br />

type_ref_list<br />

-> type_ref_list_nonempty<br />

-> "{" w "}"<br />

type_ref_list_nonempty<br />

-> "{" w type_refs w "}"<br />

type_refs<br />

-> type_ref<br />

-> type_ref w "," w type_refs<br />

excludes_opt<br />

-><br />

388

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!