-
Notifications
You must be signed in to change notification settings - Fork 4
/
pubspec_manager.smcat
94 lines (93 loc) · 2.86 KB
/
pubspec_manager.smcat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
Start {
Start => Start : OnWhitespace;
Start => FlowPlain : OnSimpleChar;
Start => FlowDoubleQuoted : OnDoubleQuoteChar;
Start => FlowSingleQuoted : OnSingleQuoteChar;
Start => ]Start.fork : OnBlockReplaceChar;
]Start.fork => ReplaceNewLines ;
Start => ]Start.fork : OnBlockKeepChar;
]Start.fork => FoldingBlock.parallel ;
]Start.fork => KeepNewLines ;
]Start.fork => TrimClip ;
},
Finished,
FlowPlain {
PlainEscaping {
PlainEscaping => FlowPlain : OnEscapeChar;
PlainEscaping => FlowPlain : OnSimpleChar;
};
PlainEscaping.initial => PlainEscaping;
FlowPlain => PlainEscaping : OnEscapeChar;
FlowPlain => FlowPlain : OnSimpleChar;
FlowPlain => FlowPlain : OnWhitespace;
FlowPlain => FlowPlain : OnNewLine;
FlowPlain => Finished : OnDoubleQuoteChar;
FlowPlain => Finished : OnFinish;
},
FlowDoubleQuoted {
DoubleQuotedEscaping {
DoubleQuotedEscaping => FlowDoubleQuoted : OnEscapeChar;
DoubleQuotedEscaping => FlowDoubleQuoted : OnSimpleChar;
};
DoubleQuotedEscaping.initial => DoubleQuotedEscaping;
FlowDoubleQuoted => DoubleQuotedEscaping : OnEscapeChar;
FlowDoubleQuoted => FlowDoubleQuoted : OnSimpleChar;
FlowDoubleQuoted => FlowDoubleQuoted : OnWhitespace;
FlowDoubleQuoted => Finished : OnDoubleQuoteChar;
},
FlowSingleQuoted {
StartOfLine {
WhiteSpace {
WhiteSpace => WhiteSpace : OnWhitespace;
WhiteSpace => FlowSingleQuoted : OnSimpleChar;
};
WhiteSpace.initial => WhiteSpace;
StartOfLine => StartOfLine : OnNewLine;
StartOfLine => WhiteSpace : OnWhitespace;
StartOfLine => FlowSingleQuoted : OnSimpleChar;
StartOfLine => Finished : OnFinish;
},
PossibleQuoteEscape {
PossibleQuoteEscape => FlowSingleQuoted : OnSingleQuoteChar;
PossibleQuoteEscape => Finished : OnFinish;
};
StartOfLine.initial => StartOfLine;
FlowSingleQuoted => FlowSingleQuoted : OnWhitespace;
FlowSingleQuoted => FlowSingleQuoted : OnSimpleChar;
FlowSingleQuoted => FlowSingleQuoted : OnEscapeChar;
FlowSingleQuoted => StartOfLine : OnNewLine;
FlowSingleQuoted => PossibleQuoteEscape : OnSingleQuoteChar;
},
FoldingBlock.parallel [label="FoldingBlock"] {
Folding {
FoldingEscaping {
FoldingEscaping => FlowDoubleQuoted : OnEscapeChar;
FoldingEscaping => FlowDoubleQuoted : OnSimpleChar;
};
FoldingEscaping.initial => FoldingEscaping;
Folding => ]Folding.fork : OnPlusChar;
]Folding.fork => TrimKeep ;
Folding => ]Folding.fork : OnMinusChar;
]Folding.fork => TrimStrip ;
Folding => FoldingEscaping : OnEscapeChar;
Folding => FlowDoubleQuoted : OnSimpleChar;
},
Trim {
TrimClip {
TrimClip => Trim : OnApplyTrim;
},
TrimKeep,
TrimStrip;
TrimClip.initial => TrimClip;
Trim => Trim : OnSimpleChar;
},
NewLine {
ReplaceNewLines {
ReplaceNewLines => ReplaceNewLines : OnNewLine;
ReplaceNewLines => ReplaceNewLines : OnWhitespace;
},
KeepNewLines;
ReplaceNewLines.initial => ReplaceNewLines;
};
};
initial => Start : Start;