This commit is contained in:
2024-04-30 07:08:23 +02:00
commit a711247971
2043 changed files with 16874 additions and 0 deletions

View File

@@ -0,0 +1 @@
prog-mode

7
snippets/ned-mode/chan Normal file
View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: chan
# key: chan
# --
channel Channel extends ${1:ned.DelayChannel} {
$0
}

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: connections
# key: conn
# --
connections${1: allowunconnected}:
$0

7
snippets/ned-mode/for Normal file
View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: for
# key: for
# --
for ${1:i}=${2:0}..${3:sizeof(port)-1} {
$0
}

5
snippets/ned-mode/import Normal file
View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: import
# key: imp
# --
import ned.${1:Package};

11
snippets/ned-mode/network Normal file
View File

@@ -0,0 +1,11 @@
# -*- mode: snippet -*-
# name: network
# key: net
# --
network ${1:Name}
{
submodules:
$2
connections:
$3
}

8
snippets/ned-mode/simple Normal file
View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: simple
# key: simple
# --
simple ${1:Component}${2: extends ${3:Component}}
{
$0
}

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: submodules
# key: sub
# --
submodules:
$0