Reiz的高级查询语言
项目描述
IRUN:Reiz用户 notation
一种友好的人性化查询语言(类似python的DSL),用于生成Reiz QL查询。
示例
with open(...) as $stream:
tree = ast.parse($stream.read())
上面的查询将匹配所有这些潜在情况(通过Reiz)
with open('somefile.py') as file_s:
tree = ast.parse(file_s.read())
with open(some_path) as stream:
tree = ast.parse(stream.read())
with open(pathlib_path / 'file.py') as s_file:
tree = ast.parse(s_file.read())
并过滤掉其余的(类似这样的内容)
with open(pathlib_path / 'file.py', encoding='x') as stream:
tree = ast.parse(stream.read())
with open() as stream:
tree = ast.parse(stream.read())
with foo(path) as stream:
tree = ast.parse(stream.read())
with open(path) as stream:
tree = ast.parse(other_stream.read())
with open(path) as stream:
tree = ast.foo(stream.read())
with open(path) as stream:
tree = bar.parse(stream.read())
with open(path) as stream:
tree = bar.baz(stream.read())
with open(path) as xxx:
tree = ast.parse(yyy.read())
with open(path) as xxx:
zzz = ast.parse(xxx.read())
项目详情
关闭
irun-0.2.tar.gz的哈希
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 2200df092ca4ecbefaef5ed7f10a5be702348e1262ea11a8cf44b97abf14e119 |
|
MD5 | 054c5d920ea0d073bc949735faf650e6 |
|
BLAKE2b-256 | 9ed7fa0e72376acf1172974009414d99605216d4cbfa1cb06830501e82f568df |