Commit bd7f33b3 authored by di68kap's avatar di68kap
Browse files

ts2dataclass extended

parent 9992d57b
...@@ -341,7 +341,7 @@ def compile_source(source: str, ...@@ -341,7 +341,7 @@ def compile_source(source: str,
1. The result as returned by the compiler or ``None`` in case of failure 1. The result as returned by the compiler or ``None`` in case of failure
2. A list of error or warning messages 2. A list of error or warning messages
3. The root-node of the abstract syntax tree if `preserve_ast` is True 3. The root-node of the abstract syntax tree if `preserve_ast` is True
or `None` otherwise. or `None` otherwise.
""" """
ast = None # type: Optional[Node] ast = None # type: Optional[Node]
original_text = load_if_file(source) # type: str original_text = load_if_file(source) # type: str
......
...@@ -114,7 +114,6 @@ object = "{" [ association { "," association } ] "}" ...@@ -114,7 +114,6 @@ object = "{" [ association { "," association } ] "}"
basic_type = (`object` | `array` | `string` | `number` | `boolean` | `null` basic_type = (`object` | `array` | `string` | `number` | `boolean` | `null`
| `integer` | `uinteger` | `decimal` ) ~ | `integer` | `uinteger` | `decimal` ) ~
####################################################################### #######################################################################
# #
#: Entities #: Entities
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment