solang-parser 0.2.1

Solang Solidity Parser
Documentation
1
2
3
4
5
6
7
8
9
10
11
contract test {
    function f() public pure returns (bytes32) {
        bytes32 escapeCharacters = "\t\n\r\'\"\\";
        return escapeCharacters;
    }
}
// ====
// compileToEwasm: also
// compileViaYul: also
// ----
// f() -> 0x090a0d27225c0000000000000000000000000000000000000000000000000000