예제 #1
0
파일: ast.py 프로젝트: rigers2001/radb
 def info(self):
     yield lreplace(str(self), literal(sym.CLEAR), symbolic(sym.CLEAR))
예제 #2
0
파일: ast.py 프로젝트: rigers2001/radb
 def info(self):
     yield lreplace(str(self), literal(sym.SOURCE), symbolic(sym.SOURCE))
예제 #3
0
 def visitSqlexecCommand(self, ctx):
     s = ctx.SQLEXEC_TEXT().getText().strip()
     s = utils.lreplace(s, literal(RAParser.ARG_L), '')
     s = utils.rreplace(s, literal(RAParser.ARG_R), '')
     return radb.ast.CommandSqlexec(s)