-
Notifications
You must be signed in to change notification settings - Fork 2k
/
Copy pathfmt.sol
36 lines (36 loc) · 843 Bytes
/
fmt.sol
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
contract UsingExampleContract {
using UsingExampleLibrary for *;
using UsingExampleLibrary for uint256;
using Example.UsingExampleLibrary for uint256;
using {M.g, M.f} for uint256;
using UsingExampleLibrary for uint256 global;
using {
These,
Are,
MultipleLibraries,
ThatNeedToBePut,
OnSeparateLines
} for uint256;
using {
This
.isareally
.longmember
.access
.expression
.that
.needs
.to
.besplit
.into
.lines
} for uint256;
using {and as &, or as |, xor as ^, cpl as ~} for Bitmap global;
using {
eq as ==,
ne as !=,
lt as <,
lte as <=,
gt as >,
gte as >=
} for Bitmap global;
}