
                         X    S r SSKJr  SSKJr  SSKJr  SS\S\4S jjrSS\	S\4S	 jjr
g
)z5The API that will be exposed to users of this package    )TextIO)hcl2)DictTransformerfilereturnc                 2    [        U R                  5       US9$ )zLoad a HCL2 file.
:param file: File with hcl2 to be loaded as a dict.
:param with_meta: If set to true then adds `__start_line__` and `__end_line__`
parameters to the output dict. Default to false.
	with_meta)loadsread)r   r
   s     lib/third_party/hcl2/api.pyloadr      s     	22    textc                 d    [         R                  " U S-   5      n[        US9R                  U5      $ )zLoad HCL2 from a string.
:param text: Text with hcl2 to be loaded as a dict.
:param with_meta: If set to true then adds `__start_line__` and `__end_line__`
parameters to the output dict. Default to false.

r	   )r   parser   	transform)r   r
   trees      r   r   r      s,     ::dTk"DY/99$??r   N)F)__doc__typingr   hcl2.parserr   hcl2.transformerr   dictr   strr    r   r   <module>r      s:    ;   ,3v 34 3@ @ @r   