github.com/annchain/OG@v0.0.9/vm/vm_test/contracts/o/hello.sol.ast (about) 1 PragmaDirective 2 Source: "pragma solidity ^0.4.20;" 3 ContractDefinition "hello" 4 Source: "contract hello {\n function helloWorld() public pure returns (string){\n return 'helloWorld';\n }\n}" 5 FunctionDefinition "helloWorld" - public 6 Source: "function helloWorld() public pure returns (string){\n return 'helloWorld';\n }" 7 ParameterList 8 Source: "()" 9 ParameterList 10 Source: "(string)" 11 VariableDeclaration "" 12 Type: string memory 13 Source: "string" 14 ElementaryTypeName string 15 Source: "string" 16 Block 17 Source: "{\n return 'helloWorld';\n }" 18 Return 19 Source: "return 'helloWorld'" 20 Literal, token: [no token] value: helloWorld 21 Type: literal_string "helloWorld" 22 Source: "'helloWorld'"