Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
Nástroj pro vyvíjení a spouštění vývojových diagramů Flowrunner - holý-tým
Manage
Activity
Members
Labels
Plan
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ASWI
ASWI 2024
Nástroj pro vyvíjení a spouštění vývojových diagramů Flowrunner - holý-tým
Merge requests
!23
Dev v1.0
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Dev v1.0
dev
into
main
Overview
0
Commits
35
Pipelines
0
Changes
6
Merged
Duc Long Hoang
requested to merge
dev
into
main
11 months ago
Overview
0
Commits
35
Pipelines
0
Changes
6
Expand
0
0
Merge request reports
Viewing commit
5375a723
Prev
Next
Show latest version
6 files
+
116
−
11
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
5375a723
Merge branch 'feat/11130-implementation_of_Program' into 'dev'
· 5375a723
Vladimír Holý
authored
11 months ago
Core/CodeNS/Code.cs
+
21
−
2
Options
using
System
;
using
Core.FunctionNS
;
using
Core.MemoryNS
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Runtime.CompilerServices
;
using
System.Text
;
using
System.Threading.Tasks
;
using
System.Xml.Linq
;
using
System.Xml.XPath
;
namespace
Core.CodeNS
{
public
class
Code
public
static
class
Code
{
private
static
XElement
?
xElement
=
null
;
public
static
void
init
(
XElement
element
)
{
xElement
=
element
;
}
public
static
void
createMainFunction
()
{
Function
main
=
new
Function
();
main
.
Name
=
"Main"
;
// TODO
Memory
.
pushFunction
(
main
);
}
public
static
XElement
?
getFunction
(
String
name
)
{
if
(
xElement
==
null
)
{
return
null
;
}
return
xElement
.
XPathSelectElement
(
"./function[@name='"
+
name
+
"']"
);
}
}
}
Loading