6.1.1.2.1.1.1.4.1.8. pycropml.transpiler.antlr_py.csharp.csharp_preprocessing module¶
- class pycropml.transpiler.antlr_py.csharp.csharp_preprocessing.Assignment[source]¶
Bases:
Middleware
- class pycropml.transpiler.antlr_py.csharp.csharp_preprocessing.Binary_op[source]¶
Bases:
Middleware
- class pycropml.transpiler.antlr_py.csharp.csharp_preprocessing.CheckingInOut(env_init=None, isAlgo=False)[source]¶
Bases:
Middleware_summary_ This code defines a middleware class called “CheckingInOut” that checks the inputs and outputs of a given code block. It does this by keeping track of the current scope and environment, and adding any new variables to the environment. It also keeps track of the inputs and outputs of the code block by checking if a variable is already in the current scope or not. The middleware class has methods for different types of statements and expressions, such as assignment, if statements, for loops, and function calls. The purpose of this middleware is to ensure that the inputs and outputs of a code block are well-defined and can be used by other parts of a program.
- class pycropml.transpiler.antlr_py.csharp.csharp_preprocessing.Custom_call(totaltree, extfunc=[], not_declared={}, ext_func_inout={}, member_category={})[source]¶
Bases:
Middleware
- class pycropml.transpiler.antlr_py.csharp.csharp_preprocessing.Declarations[source]¶
Bases:
Middleware
- class pycropml.transpiler.antlr_py.csharp.csharp_preprocessing.ExprStatNode(extfunc=[], ext_func_inout={})[source]¶
Bases:
Middleware
- class pycropml.transpiler.antlr_py.csharp.csharp_preprocessing.Index[source]¶
Bases:
Middleware
- class pycropml.transpiler.antlr_py.csharp.csharp_preprocessing.Local(declnames=[], params={})[source]¶
Bases:
Middleware
- class pycropml.transpiler.antlr_py.csharp.csharp_preprocessing.Member_access(totaltree, prec_cur=[])[source]¶
Bases:
Middleware
- class pycropml.transpiler.antlr_py.csharp.csharp_preprocessing.TransformLocal(notdeclared)[source]¶
Bases:
Middleware