File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ ================================================================================
2+ Custom Layout
3+ ================================================================================
4+
5+ contract C layout at 2**255 - 42 {
6+ uint x;
7+ }
8+
9+ --------------------------------------------------------------------------------
10+
11+ (source_file
12+ (contract_declaration
13+ name: (identifier)
14+ (layout_specifier
15+ (expression
16+ (binary_expression
17+ left: (expression
18+ (binary_expression
19+ left: (expression
20+ (number_literal))
21+ right: (expression
22+ (number_literal))))
23+ right: (expression
24+ (number_literal)))))
25+ body: (contract_body
26+ (state_variable_declaration
27+ type: (type_name
28+ (primitive_type))
29+ name: (identifier)))))
You can’t perform that action at this time.
0 commit comments