Last active
August 29, 2015 13:56
-
-
Save zslayton/9300806 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"module": { | |
"view_items": [ | |
{ | |
"node": [ | |
"ViewItemUse", | |
[ | |
{ | |
"node": [ | |
"ViewPathGlob", | |
{ | |
"span": null, | |
"global": false, | |
"segments": [ | |
{ | |
"identifier": "std", | |
"lifetimes": "Empty", | |
"types": "Empty" | |
}, | |
{ | |
"identifier": "prelude", | |
"lifetimes": "Empty", | |
"types": "Empty" | |
} | |
] | |
}, | |
1 | |
], | |
"span": null | |
} | |
] | |
], | |
"attrs": [], | |
"vis": "Inherited", | |
"span": null | |
}, | |
{ | |
"node": [ | |
"ViewItemExternMod", | |
"std", | |
[ | |
"std#0.10-pre", | |
"CookedStr" | |
], | |
2 | |
], | |
"attrs": [ | |
{ | |
"node": { | |
"style": "AttrInner", | |
"value": { | |
"node": [ | |
"MetaList", | |
"phase", | |
[ | |
{ | |
"node": [ | |
"MetaWord", | |
"syntax" | |
], | |
"span": null | |
}, | |
{ | |
"node": [ | |
"MetaWord", | |
"link" | |
], | |
"span": null | |
} | |
] | |
], | |
"span": null | |
}, | |
"is_sugared_doc": false | |
}, | |
"span": null | |
} | |
], | |
"vis": "Inherited", | |
"span": null | |
}, | |
{ | |
"node": [ | |
"ViewItemExternMod", | |
"green", | |
[ | |
"green#0.10-pre", | |
"CookedStr" | |
], | |
3 | |
], | |
"attrs": [], | |
"vis": "Inherited", | |
"span": null | |
}, | |
{ | |
"node": [ | |
"ViewItemExternMod", | |
"rustuv", | |
[ | |
"rustuv#0.10-pre", | |
"CookedStr" | |
], | |
4 | |
], | |
"attrs": [], | |
"vis": "Inherited", | |
"span": null | |
} | |
], | |
"items": [ | |
{ | |
"ident": "test", | |
"attrs": [ | |
{ | |
"node": { | |
"style": "AttrOuter", | |
"value": { | |
"node": [ | |
"MetaNameValue", | |
"doc", | |
{ | |
"node": [ | |
"LitStr", | |
"/// The 'test' module is elegant in its minimalism. ", | |
"CookedStr" | |
], | |
"span": null | |
} | |
], | |
"span": null | |
}, | |
"is_sugared_doc": true | |
}, | |
"span": null | |
}, | |
{ | |
"node": { | |
"style": "AttrOuter", | |
"value": { | |
"node": [ | |
"MetaNameValue", | |
"doc", | |
{ | |
"node": [ | |
"LitStr", | |
"/// The 'test' module is elegant in its minimalism. ", | |
"CookedStr" | |
], | |
"span": null | |
} | |
], | |
"span": null | |
}, | |
"is_sugared_doc": true | |
}, | |
"span": null | |
}, | |
{ | |
"node": { | |
"style": "AttrInner", | |
"value": { | |
"node": [ | |
"MetaNameValue", | |
"doc", | |
{ | |
"node": [ | |
"LitStr", | |
"/*! This summary statement describes the 'test' module */", | |
"CookedStr" | |
], | |
"span": null | |
} | |
], | |
"span": null | |
}, | |
"is_sugared_doc": true | |
}, | |
"span": null | |
} | |
], | |
"id": 5, | |
"node": [ | |
"ItemMod", | |
{ | |
"view_items": [ | |
{ | |
"node": [ | |
"ViewItemUse", | |
[ | |
{ | |
"node": [ | |
"ViewPathGlob", | |
{ | |
"span": null, | |
"global": false, | |
"segments": [ | |
{ | |
"identifier": "std", | |
"lifetimes": "Empty", | |
"types": "Empty" | |
}, | |
{ | |
"identifier": "prelude", | |
"lifetimes": "Empty", | |
"types": "Empty" | |
} | |
] | |
}, | |
6 | |
], | |
"span": null | |
} | |
] | |
], | |
"attrs": [], | |
"vis": "Inherited", | |
"span": null | |
} | |
], | |
"items": [ | |
{ | |
"ident": "print_test_message", | |
"attrs": [], | |
"id": 7, | |
"node": [ | |
"ItemFn", | |
{ | |
"inputs": [], | |
"output": { | |
"id": 8, | |
"node": "TyNil", | |
"span": null | |
}, | |
"cf": "Return", | |
"variadic": false | |
}, | |
"ImpureFn", | |
{ | |
"bits": 32 | |
}, | |
{ | |
"lifetimes": "Empty", | |
"ty_params": "Empty" | |
}, | |
{ | |
"view_items": [], | |
"stmts": [ | |
{ | |
"node": [ | |
"StmtSemi", | |
{ | |
"id": 45, | |
"node": [ | |
"ExprMatch", | |
{ | |
"id": 9, | |
"node": [ | |
"ExprTup", | |
[] | |
], | |
"span": null | |
}, | |
[ | |
{ | |
"pats": [ | |
{ | |
"id": 10, | |
"node": [ | |
"PatTup", | |
[] | |
], | |
"span": null | |
} | |
], | |
"guard": null, | |
"body": { | |
"view_items": [], | |
"stmts": [], | |
"expr": { | |
"id": 44, | |
"node": [ | |
"ExprBlock", | |
{ | |
"view_items": [], | |
"stmts": [ | |
{ | |
"node": [ | |
"StmtDecl", | |
{ | |
"node": [ | |
"DeclItem", | |
{ | |
"ident": "__STATIC_FMTSTR", | |
"attrs": [ | |
{ | |
"node": { | |
"style": "AttrOuter", | |
"value": { | |
"node": [ | |
"MetaWord", | |
"address_insignificant" | |
], | |
"span": null | |
}, | |
"is_sugared_doc": false | |
}, | |
"span": null | |
}, | |
{ | |
"node": { | |
"style": "AttrOuter", | |
"value": { | |
"node": [ | |
"MetaList", | |
"allow", | |
[ | |
{ | |
"node": [ | |
"MetaWord", | |
"dead_code" | |
], | |
"span": null | |
} | |
] | |
], | |
"span": null | |
}, | |
"is_sugared_doc": false | |
}, | |
"span": null | |
} | |
], | |
"id": 12, | |
"node": [ | |
"ItemStatic", | |
{ | |
"id": 17, | |
"node": [ | |
"TyFixedLengthVec", | |
{ | |
"id": 15, | |
"node": [ | |
"TyPath", | |
{ | |
"span": null, | |
"global": true, | |
"segments": [ | |
{ | |
"identifier": "std", | |
"lifetimes": "Empty", | |
"types": "Empty" | |
}, | |
{ | |
"identifier": "fmt", | |
"lifetimes": "Empty", | |
"types": "Empty" | |
}, | |
{ | |
"identifier": "rt", | |
"lifetimes": "Empty", | |
"types": "Empty" | |
}, | |
{ | |
"identifier": "Piece", | |
"lifetimes": [ | |
"Vec", | |
[ | |
{ | |
"id": 13, | |
"span": null, | |
"ident": 2 | |
} | |
] | |
], | |
"types": "Empty" | |
} | |
] | |
}, | |
null, | |
14 | |
], | |
"span": null | |
}, | |
{ | |
"id": 16, | |
"node": [ | |
"ExprLit", | |
{ | |
"node": [ | |
"LitUint", | |
1, | |
"TyU" | |
], | |
"span": null | |
} | |
], | |
"span": null | |
} | |
], | |
"span": null | |
}, | |
"MutImmutable", | |
{ | |
"id": 21, | |
"node": [ | |
"ExprVec", | |
[ | |
{ | |
"id": 20, | |
"node": [ | |
"ExprCall", | |
{ | |
"id": 18, | |
"node": [ | |
"ExprPath", | |
{ | |
"span": null, | |
"global": true, | |
"segments": [ | |
{ | |
"identifier": "std", | |
"lifetimes": "Empty", | |
"types": "Empty" | |
}, | |
{ | |
"identifier": "fmt", | |
"lifetimes": "Empty", | |
"types": "Empty" | |
}, | |
{ | |
"identifier": "rt", | |
"lifetimes": "Empty", | |
"types": "Empty" | |
}, | |
{ | |
"identifier": "String", | |
"lifetimes": "Empty", | |
"types": "Empty" | |
} | |
] | |
} | |
], | |
"span": null | |
}, | |
[ | |
{ | |
"id": 19, | |
"node": [ | |
"ExprLit", | |
{ | |
"node": [ | |
"LitStr", | |
"I am a test function!", | |
"CookedStr" | |
], | |
"span": null | |
} | |
], | |
"span": null | |
} | |
] | |
], | |
"span": null | |
} | |
], | |
"MutImmutable" | |
], | |
"span": null | |
} | |
], | |
"vis": "Inherited", | |
"span": null | |
} | |
], | |
"span": null | |
}, | |
22 | |
], | |
"span": null | |
}, | |
{ | |
"node": [ | |
"StmtDecl", | |
{ | |
"node": [ | |
"DeclLocal", | |
{ | |
"ty": { | |
"id": 24, | |
"node": "TyInfer", | |
"span": null | |
}, | |
"pat": { | |
"id": 25, | |
"node": [ | |
"PatIdent", | |
[ | |
"BindByValue", | |
"MutImmutable" | |
], | |
{ | |
"span": null, | |
"global": false, | |
"segments": [ | |
{ | |
"identifier": "__args_vec", | |
"lifetimes": "Empty", | |
"types": "Empty" | |
} | |
] | |
}, | |
null | |
], | |
"span": null | |
}, | |
"init": { | |
"id": 27, | |
"node": [ | |
"ExprVstore", | |
{ | |
"id": 26, | |
"node": [ | |
"ExprVec", | |
[], | |
"MutImmutable" | |
], | |
"span": null | |
}, | |
"ExprVstoreSlice" | |
], | |
"span": null | |
}, | |
"id": 23, | |
"span": null | |
} | |
], | |
"span": null | |
}, | |
28 | |
], | |
"span": null | |
}, | |
{ | |
"node": [ | |
"StmtDecl", | |
{ | |
"node": [ | |
"DeclLocal", | |
{ | |
"ty": { | |
"id": 30, | |
"node": "TyInfer", | |
"span": null | |
}, | |
"pat": { | |
"id": 31, | |
"node": [ | |
"PatIdent", | |
[ | |
"BindByValue", | |
"MutImmutable" | |
], | |
{ | |
"span": null, | |
"global": false, | |
"segments": [ | |
{ | |
"identifier": "__args", | |
"lifetimes": "Empty", | |
"types": "Empty" | |
} | |
] | |
}, | |
null | |
], | |
"span": null | |
}, | |
"init": { | |
"id": 37, | |
"node": [ | |
"ExprBlock", | |
{ | |
"view_items": [], | |
"stmts": [], | |
"expr": { | |
"id": 36, | |
"node": [ | |
"ExprCall", | |
{ | |
"id": 33, | |
"node": [ | |
"ExprPath", | |
{ | |
"span": null, | |
"global": true, | |
"segments": [ | |
{ | |
"identifier": "std", | |
"lifetimes": "Empty", | |
"types": "Empty" | |
}, | |
{ | |
"identifier": "fmt", | |
"lifetimes": "Empty", | |
"types": "Empty" | |
}, | |
{ | |
"identifier": "Arguments", | |
"lifetimes": "Empty", | |
"types": "Empty" | |
}, | |
{ | |
"identifier": "new", | |
"lifetimes": "Empty", | |
"types": "Empty" | |
} | |
] | |
} | |
], | |
"span": null | |
}, | |
[ | |
{ | |
"id": 34, | |
"node": [ | |
"ExprPath", | |
{ | |
"span": null, | |
"global": false, | |
"segments": [ | |
{ | |
"identifier": "__STATIC_FMTSTR", | |
"lifetimes": "Empty", | |
"types": "Empty" | |
} | |
] | |
} | |
], | |
"span": null | |
}, | |
{ | |
"id": 35, | |
"node": [ | |
"ExprPath", | |
{ | |
"span": null, | |
"global": false, | |
"segments": [ | |
{ | |
"identifier": "__args_vec", | |
"lifetimes": "Empty", | |
"types": "Empty" | |
} | |
] | |
} | |
], | |
"span": null | |
} | |
] | |
], | |
"span": null | |
}, | |
"id": 32, | |
"rules": [ | |
"UnsafeBlock", | |
"CompilerGenerated" | |
], | |
"span": null | |
} | |
], | |
"span": null | |
}, | |
"id": 29, | |
"span": null | |
} | |
], | |
"span": null | |
}, | |
38 | |
], | |
"span": null | |
} | |
], | |
"expr": { | |
"id": 43, | |
"node": [ | |
"ExprCall", | |
{ | |
"id": 40, | |
"node": [ | |
"ExprPath", | |
{ | |
"span": null, | |
"global": true, | |
"segments": [ | |
{ | |
"identifier": "std", | |
"lifetimes": "Empty", | |
"types": "Empty" | |
}, | |
{ | |
"identifier": "io", | |
"lifetimes": "Empty", | |
"types": "Empty" | |
}, | |
{ | |
"identifier": "stdio", | |
"lifetimes": "Empty", | |
"types": "Empty" | |
}, | |
{ | |
"identifier": "println_args", | |
"lifetimes": "Empty", | |
"types": "Empty" | |
} | |
] | |
} | |
], | |
"span": null | |
}, | |
[ | |
{ | |
"id": 42, | |
"node": [ | |
"ExprAddrOf", | |
"MutImmutable", | |
{ | |
"id": 41, | |
"node": [ | |
"ExprPath", | |
{ | |
"span": null, | |
"global": false, | |
"segments": [ | |
{ | |
"identifier": "__args", | |
"lifetimes": "Empty", | |
"types": "Empty" | |
} | |
] | |
} | |
], | |
"span": null | |
} | |
], | |
"span": null | |
} | |
] | |
], | |
"span": null | |
}, | |
"id": 39, | |
"rules": "DefaultBlock", | |
"span": null | |
} | |
], | |
"span": null | |
}, | |
"id": 11, | |
"rules": "DefaultBlock", | |
"span": null | |
} | |
} | |
] | |
], | |
"span": null | |
}, | |
46 | |
], | |
"span": null | |
} | |
], | |
"expr": null, | |
"id": 47, | |
"rules": "DefaultBlock", | |
"span": null | |
} | |
], | |
"vis": "Public", | |
"span": null | |
} | |
] | |
} | |
], | |
"vis": "Public", | |
"span": null | |
} | |
] | |
}, | |
"attrs": [], | |
"config": [ | |
{ | |
"node": [ | |
"MetaWord", | |
"nogc" | |
], | |
"span": null | |
}, | |
{ | |
"node": [ | |
"MetaWord", | |
"unix" | |
], | |
"span": null | |
}, | |
{ | |
"node": [ | |
"MetaNameValue", | |
"target_os", | |
{ | |
"node": [ | |
"LitStr", | |
"linux", | |
"CookedStr" | |
], | |
"span": null | |
} | |
], | |
"span": null | |
}, | |
{ | |
"node": [ | |
"MetaNameValue", | |
"target_family", | |
{ | |
"node": [ | |
"LitStr", | |
"unix", | |
"CookedStr" | |
], | |
"span": null | |
} | |
], | |
"span": null | |
}, | |
{ | |
"node": [ | |
"MetaNameValue", | |
"target_arch", | |
{ | |
"node": [ | |
"LitStr", | |
"x86_64", | |
"CookedStr" | |
], | |
"span": null | |
} | |
], | |
"span": null | |
}, | |
{ | |
"node": [ | |
"MetaNameValue", | |
"target_endian", | |
{ | |
"node": [ | |
"LitStr", | |
"little", | |
"CookedStr" | |
], | |
"span": null | |
} | |
], | |
"span": null | |
}, | |
{ | |
"node": [ | |
"MetaNameValue", | |
"target_word_size", | |
{ | |
"node": [ | |
"LitStr", | |
"64", | |
"CookedStr" | |
], | |
"span": null | |
} | |
], | |
"span": null | |
} | |
], | |
"span": null | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment