projects
/
ton
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
c0ce7860156760f41e590f99a6ce7ce3bf103bcc
[ton]
/
ton
/
_shared.py
1
import collections
2
3
from ton import tags
4
5
ParseResult = collections.namedtuple(
6
'ParseResult',
7
[
8
'success',
9
'value',
10
'remaining',
11
],
12
)
13
14
_FAILED_PARSE_RESULT = ParseResult(success = False, value = None, remaining = None)