topos.graphs.ast.types

class topos.graphs.ast.types.ParserProvenance(parser, parser_version, node_kind)[source]

Bases: object

Metadata describing how AST artifacts were produced.

parser
parser_version
node_kind
class topos.graphs.ast.types.ParseResult(root, source, language, provenance, native_ast=None, uast_root=None, has_errors=False)[source]

Bases: object

Container for language parsing artifacts used by topos.

root
source
language
provenance
native_ast = None
uast_root = None
has_errors = False