parrotcode: Untitled | |
Contents | Language Implementations | .Net |
pir = dotnet_to_pir(filename)
This is contained in the file "src/translator.pir".
+----------------------------+
| dotnet_to_pir |
| (translator.pir) |
+------------||--------------+
||
_||_
\ /
+------------\/--------------+
| trans_class |
| (translator.pir) |
+------------||--------------+
||
==================================
|| ||
_||_ _||_
\ / \ /
+---------\/-----------+ +---------\/-----------+
| trans_field | | trans_method |
| (translator.pir) | | (method.pir) |
+----------------------+ +---------||-----------+
||
_||_
\ /
\/
See below
See above
||
_||_
\ /
+------------\/--------------+
| trans_method |---------|\ Instruction
| (method.pir) |---------|/ Translator
+------------||--------------+
||
==================================
|| ||
_||_ _||_
\ / \ /
+---------\/-----------+ +---------\/-----------+
| trans_method_params | | trans_method_locals |
| (method.pir) | | (method.pir) |
+---------||-----------+ +---------||-----------+
|| ||
_||_ _||_
\ / \ /
+---------\/-----------+ +---------\/-----------+
| get_signature_ | | get_signature_ |
| RetType_or_Param | | Local |
| (signature.pir) | | (signature.pir) |
+----------------------+ +----------------------+
|