Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 47 lines (39 sloc) 0.668 kb
1b7d779 @CodingUnit add project
authored
1 using Nemerle;
2 using Nemerle.Collections;
3 using Nemerle.Text;
4 using Nemerle.Utility;
5
6 using System;
7 using System.Collections.Generic;
8 using System.Linq;
9
10 namespace Nemerle.Statechart
11 {
12 [Record]
13 public class Actions
14 {
15 public pos : int;
16 public actions : list[string];
17
18 public this(actions : list[string])
19 {
20 pos = 0;
21 this.actions = actions;
22 }
23
24 public ActionList : list[string]
25 {
26 get
27 {
28 actions
29 }
30 }
31
32 public Empty : bool
33 {
34 get
35 {
36 actions.IsEmpty()
37 }
38 }
39
40 public override ToString() : string
41 {
42 $"$actions"
43 }
44 }
45
46 }
Something went wrong with that request. Please try again.