def p_import(self, p):
        'import : IMPORT ID NL'
        p[0] = AstImport(self.path, p.lineno(1), p.lexpos(1), p[2])
def p_import ( self , p ) : p [ 0 ] = AstImport ( self . path , p . lineno ( 1 ) , p . lexpos ( 1 ) , p [ 2 ] )
import : IMPORT ID NL