Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
python-oceandsls
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
oceandsl
python-oceandsls
Merge requests
!13
fxca model
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
fxca model
tdd-fxtran-objects
into
main
Overview
0
Commits
4
Pipelines
2
Changes
11
Merged
Sven Gundlach
requested to merge
tdd-fxtran-objects
into
main
2 years ago
Overview
0
Commits
4
Pipelines
2
Changes
11
Expand
add fxca model elements
0
0
Merge request reports
Compare
main
version 1
4bc8ad8d
2 years ago
main (base)
and
latest version
latest version
83051117
4 commits,
2 years ago
version 1
4bc8ad8d
3 commits,
2 years ago
11 files
+
616
−
7
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
11
Search (e.g. *.vue) (Ctrl+P)
tdd-dsl/fxca/model/CommonBlock.py
0 → 100644
+
39
−
0
Options
"""
Elements for Fortran statements from fxtran parsing
"""
__author__
=
'
sgu
'
from
ContainmentHashMap
import
ContainmentHashMap
class
CommonBlock
:
"""
source for class CommonBlock
"""
@final
@property
def
name
(
self
)
->
str
:
return
self
.
_name
@final
@property
def
variables
(
self
)
->
ContainmentHashMap
[
str
,
FortranVariable
]:
return
self
.
_variables
@final
@property
def
node
(
self
):
return
self
.
_node
@property
def
parent
(
self
)
->
object
:
return
self
.
_parent
@parent.setter
def
parent
(
self
,
parent
):
self
.
_parent
=
parent
def
__init__
(
self
,
name
,
node
):
self
.
_name
=
name
self
.
_node
=
node
self
.
_variables
=
ContainmentHashMap
(
self
)
self
.
_parent
=
object
(
)
Loading