Last active
August 29, 2015 14:00
-
-
Save RAttab/b5150e021864139af46e to your computer and use it in GitHub Desktop.
Reflect demo output
This file contains hidden or 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
scope | |
{ | |
type void; | |
type unsigned long long int; | |
type unsigned long int; | |
type long int; | |
type unsigned int; | |
type long long int; | |
type int; | |
type unsigned short int; | |
type short int; | |
type signed char; | |
type unsigned char; | |
type char; | |
type bool; | |
scope test | |
{ | |
inc: | |
int(int) | |
counter: | |
int() | |
void(int const&) | |
type Thingy; | |
type Zorish; | |
} | |
scope reflect | |
{ | |
type Type; | |
type Value; | |
} | |
scope std | |
{ | |
type string; | |
} | |
} | |
type test::Thingy | |
{ | |
type test::Zorish | |
{ | |
operator+: | |
test::Zorish(test::Zorish const&, test::Zorish const&) | |
value: | |
traits: [ field ] | |
int(test::Zorish const&) | |
void(test::Zorish&, int) | |
operator int(): | |
int(test::Zorish const&) | |
operator=: | |
test::Zorish&(test::Zorish&, test::Zorish const&) | |
test::Zorish&(test::Zorish&, test::Zorish&&) | |
test::Zorish: | |
test::Zorish() | |
test::Zorish(test::Zorish const&) | |
test::Zorish(test::Zorish&&) | |
test::Zorish(int) | |
} | |
traits: [ thing ] | |
weee: | |
traits: [ interesting ] | |
int(test::Thingy&, int) | |
create: | |
std::shared_ptr<test::Thingy>(int) | |
bob: | |
traits: [ field ] | |
std::map<int,int>&(test::Thingy&) | |
std::map<int,int> const&(test::Thingy const&) | |
void(test::Thingy&, std::map<int,int>) | |
operator=: | |
test::Thingy&(test::Thingy&, test::Thingy const&) | |
test::Thingy&(test::Thingy&, test::Thingy&&) | |
test::Thingy: | |
test::Thingy(test::Thingy const&) | |
test::Thingy(test::Thingy&&) | |
test::Thingy(int) | |
} | |
bob = { 10:100 20:200 } | |
sum is a int | |
sum = 111 | |
*** No errors detected |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment