mapres 3.dev4__tar.gz → 3.dev6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mapres
3
- Version: 3.dev4
3
+ Version: 3.dev6
4
4
  Summary: A powerfull mapping utility
5
5
  Author: iFamished
6
6
  License: MIT
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
7
7
 
8
8
  [project]
9
9
  name = "mapres"
10
- version = "3-dev.4"
10
+ version = "3-dev.6"
11
11
  description = "A powerfull mapping utility"
12
12
  readme = "README.md"
13
13
  requires-python = ">=3.9"
@@ -7,7 +7,7 @@ try:
7
7
  except PackageNotFoundError:
8
8
  __version__ = '0.0.0'
9
9
 
10
- from .resolver import MapResolver, res, setGlobalMaps, setDefaultPasses
10
+ from .resolver import MapResolver, res, setGlobalMaps
11
11
  from .datamap import DataMap, datamap, syntax
12
12
  from .layers import Layer, LayerStack
13
13
 
@@ -38,7 +38,6 @@ __all__ = [
38
38
  'Layer',
39
39
  'LayerStack',
40
40
  'setGlobalMaps',
41
- 'setDefaultPasses',
42
41
 
43
42
  # maps
44
43
  'ColorMap',
@@ -8,7 +8,7 @@ class Node:
8
8
 
9
9
  @dataclass
10
10
  class TemplateNode(Node):
11
- children: list[NotADirectoryError]
11
+ children: list[Node]
12
12
 
13
13
 
14
14
  @dataclass
@@ -18,7 +18,8 @@ class TextNode(Node):
18
18
 
19
19
  @dataclass
20
20
  class IdentNode(Node):
21
- name: str # supports dots: server.status.online
21
+ name: str
22
+ syntax: str
22
23
 
23
24
 
24
25
  @dataclass
@@ -76,7 +76,7 @@ class Parser:
76
76
 
77
77
  # simple identifier: IDENT
78
78
  self.expect(closing_type)
79
- return IdentNode(name=name)
79
+ return IdentNode(name=name, syntax=syntax_name)
80
80
 
81
81
  # --- syntax-bound token handlers ---
82
82
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mapres
3
- Version: 3.dev4
3
+ Version: 3.dev6
4
4
  Summary: A powerfull mapping utility
5
5
  Author: iFamished
6
6
  License: MIT
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes