Beispiel #1
0
 def single_println_stmt(s):
     return AST.Print_Stmt(None, s[0].gettokentype())
Beispiel #2
0
 def print_stmt(s):
     """parse print/println statements"""
     return AST.Print_Stmt(s[1], s[0].gettokentype())