Exemple #1
0
 def body_body_element(state, p):
     return ast.FunctionBody(p[1], p[0])
Exemple #2
0
 def function_body_statement(state, p):
     return ast.FunctionBody(p[1], p[0])
Exemple #3
0
 def body_empty(state, p):
     return ast.FunctionBody(None, None)
Exemple #4
0
 def function_body_empty(state, p):
     return ast.FunctionBody([])