Skip to content

Instantly share code, notes, and snippets.

@jeaye
Last active August 29, 2015 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeaye/1dcb1dea1bdc21ebdcb1 to your computer and use it in GitHub Desktop.
Save jeaye/1dcb1dea1bdc21ebdcb1 to your computer and use it in GitHub Desktop.
struct, StructDecl, Record, foo
foo, StructDecl, Record, foo
{, StructDecl, Record, foo
void, CXXMethod, FunctionProto, operator[](int)
operator, CXXMethod, FunctionProto, operator[](int)
[, CXXMethod, FunctionProto, operator[](int)
], CXXMethod, FunctionProto, operator[](int)
(, CXXMethod, FunctionProto, operator[](int)
int, ParmDecl, Int,
), CXXMethod, FunctionProto, operator[](int)
{, CompoundStmt, Invalid,
}, CompoundStmt, Invalid,
static, VarDecl, Int, index
int, VarDecl, Int, index
constexpr, VarDecl, Int, index
index, VarDecl, Int, index
{, InitListExpr, Int,
1, IntegerLiteral, Int,
}, InitListExpr, Int,
;, StructDecl, Record, foo
}, StructDecl, Record, foo
;, InvalidFile, Invalid,
foo, TypeRef, Record, struct foo
&, FunctionDecl, FunctionProto, get()
get, FunctionDecl, FunctionProto, get()
(, FunctionDecl, FunctionProto, get()
), FunctionDecl, FunctionProto, get()
{, CompoundStmt, Invalid,
static, VarDecl, Record, f
foo, TypeRef, Record, struct foo
f, VarDecl, Record, f
;, DeclStmt, Invalid,
return, ReturnStmt, Invalid,
f, DeclRefExpr, Record, f
;, CompoundStmt, Invalid,
}, CompoundStmt, Invalid,
int, FunctionDecl, FunctionProto, main()
main, FunctionDecl, FunctionProto, main()
(, FunctionDecl, FunctionProto, main()
), FunctionDecl, FunctionProto, main()
{, CompoundStmt, Invalid,
get, DeclRefExpr, FunctionProto, get
(, CallExpr, Record, get
), CallExpr, Record, get
[, DeclRefExpr, FunctionProto, operator[]
foo, DeclRefExpr, FunctionProto, operator[]
::, DeclRefExpr, FunctionProto, operator[]
index, DeclRefExpr, FunctionProto, operator[]
], DeclRefExpr, FunctionProto, operator[]
;, CompoundStmt, Invalid,
}, CompoundStmt, Invalid,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment