api.ast.parser#
Functions#
|
|
|
This function takes a Psydac Ast and returns a Pyccel Ast |
Classes#
![Inheritance diagram of psydac.api.ast.parser](../../_images/inheritance-ceccd85c3bfacc855216e589b14bb1b5f7ab0376.png)
Details#
- parse(expr, settings, backend=None)[source]#
This function takes a Psydac Ast and returns a Pyccel Ast
- Parameters:
- expr: <Psydac Ast>
psydac ast node
- settings<dict>
dictionary that continas number of dimension, mappings and target if provided
- Returns:
- astPyccel Ast
pyccel abstract syntax tree that can be translated into a Python code