OLD | NEW |
---|---|
1 library; | 1 library; |
2 import self as self; | 2 import self as self; |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 | 4 |
5 class DeltaBlue extends core::Object { | 5 class DeltaBlue extends core::Object { |
6 constructor •() → void | 6 default constructor •() → void |
Johnni Winther
2017/07/14 09:22:02
Why isn't this change also in the .direct.expect f
ahe
2017/07/14 09:42:26
It's probably because it already fails today, this
| |
7 ; | 7 ; |
8 method run() → void | 8 method run() → void |
9 ; | 9 ; |
10 } | 10 } |
11 class Strength extends core::Object { | 11 class Strength extends core::Object { |
12 final field core::int value; | 12 final field core::int value; |
13 final field core::String name; | 13 final field core::String name; |
14 const constructor •(core::int value, core::String name) → void | 14 const constructor •(core::int value, core::String name) → void |
15 ; | 15 ; |
16 method nextWeaker() → self::Strength | 16 method nextWeaker() → self::Strength |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
144 final field core::String name; | 144 final field core::String name; |
145 constructor •(core::String name, core::int value) → void | 145 constructor •(core::String name, core::int value) → void |
146 ; | 146 ; |
147 method addConstraint(self::Constraint c) → void | 147 method addConstraint(self::Constraint c) → void |
148 ; | 148 ; |
149 method removeConstraint(self::Constraint c) → void | 149 method removeConstraint(self::Constraint c) → void |
150 ; | 150 ; |
151 } | 151 } |
152 class Planner extends core::Object { | 152 class Planner extends core::Object { |
153 field core::int currentMark; | 153 field core::int currentMark; |
154 constructor •() → void | 154 default constructor •() → void |
155 ; | 155 ; |
156 method incrementalAdd(self::Constraint c) → void | 156 method incrementalAdd(self::Constraint c) → void |
157 ; | 157 ; |
158 method incrementalRemove(self::Constraint c) → void | 158 method incrementalRemove(self::Constraint c) → void |
159 ; | 159 ; |
160 method newMark() → core::int | 160 method newMark() → core::int |
161 ; | 161 ; |
162 method makePlan(core::List<self::Constraint> sources) → self::Plan | 162 method makePlan(core::List<self::Constraint> sources) → self::Plan |
163 ; | 163 ; |
164 method extractPlanFromConstraints(core::List<self::Constraint> constraints) → self::Plan | 164 method extractPlanFromConstraints(core::List<self::Constraint> constraints) → self::Plan |
165 ; | 165 ; |
166 method addPropagate(self::Constraint c, core::int mark) → core::bool | 166 method addPropagate(self::Constraint c, core::int mark) → core::bool |
167 ; | 167 ; |
168 method removePropagateFrom(self::Variable out) → core::List<self::Constraint> | 168 method removePropagateFrom(self::Variable out) → core::List<self::Constraint> |
169 ; | 169 ; |
170 method addConstraintsConsumingTo(self::Variable v, core::List<self::Constraint > coll) → void | 170 method addConstraintsConsumingTo(self::Variable v, core::List<self::Constraint > coll) → void |
171 ; | 171 ; |
172 } | 172 } |
173 class Plan extends core::Object { | 173 class Plan extends core::Object { |
174 field core::List<self::Constraint> list; | 174 field core::List<self::Constraint> list; |
175 constructor •() → void | 175 default constructor •() → void |
176 ; | 176 ; |
177 method addConstraint(self::Constraint c) → void | 177 method addConstraint(self::Constraint c) → void |
178 ; | 178 ; |
179 method size() → core::int | 179 method size() → core::int |
180 ; | 180 ; |
181 method execute() → void | 181 method execute() → void |
182 ; | 182 ; |
183 } | 183 } |
184 static const field dynamic REQUIRED; | 184 static const field dynamic REQUIRED; |
185 static const field dynamic STRONG_PREFERRED; | 185 static const field dynamic STRONG_PREFERRED; |
186 static const field dynamic PREFERRED; | 186 static const field dynamic PREFERRED; |
187 static const field dynamic STRONG_DEFAULT; | 187 static const field dynamic STRONG_DEFAULT; |
188 static const field dynamic NORMAL; | 188 static const field dynamic NORMAL; |
189 static const field dynamic WEAK_DEFAULT; | 189 static const field dynamic WEAK_DEFAULT; |
190 static const field dynamic WEAKEST; | 190 static const field dynamic WEAKEST; |
191 static const field core::int NONE; | 191 static const field core::int NONE; |
192 static const field core::int FORWARD; | 192 static const field core::int FORWARD; |
193 static const field core::int BACKWARD; | 193 static const field core::int BACKWARD; |
194 static field self::Planner planner; | 194 static field self::Planner planner; |
195 static method main() → dynamic | 195 static method main() → dynamic |
196 ; | 196 ; |
197 static method chainTest(core::int n) → void | 197 static method chainTest(core::int n) → void |
198 ; | 198 ; |
199 static method projectionTest(core::int n) → void | 199 static method projectionTest(core::int n) → void |
200 ; | 200 ; |
201 static method change(self::Variable v, core::int newValue) → void | 201 static method change(self::Variable v, core::int newValue) → void |
202 ; | 202 ; |
OLD | NEW |