ttp-program:

ttp-program
         ::= ( 'ImportFrom' | sq-def )* graph-def

no references


sq-def:

sq-def   ::= '@SQify' function-def

referenced by:


graph-def:

graph-def
         ::= '@GRAPHify' function-def

referenced by:


function-def:

function-def
         ::= 'def' 'Name' arglist ':' body

referenced by:


body:

body     ::= ( context-stmt | assignment )* 'return' expression

referenced by:


context-stmt:

context-stmt
         ::= 'with' context-expr ( 'as' 'Name' )? ':' body

referenced by:


context-expr:

context-expr
         ::= ( 'TTClock' | 'TTPlanB' | 'TTDeadline' ) arglist

referenced by:


assignment:

assignment
         ::= 'Name' '=' expression

referenced by:


expression:

expression
         ::= 'IfExp'
           | 'Call'
           | 'UnaryOp'
           | 'BinOp'
           | 'BoolOp'

referenced by:


arglist:

arglist  ::= '(' arg* ')'

referenced by:


arg:

arg      ::= 'Name'
           | expression

referenced by:



  ... generated by RR - Railroad Diagram Generator