hevm-0.16: Ethereum virtual machine evaluator

Safe HaskellNone
LanguageHaskell2010

EVM.Solidity

Synopsis

Documentation

data JumpType Source #

Constructors

JumpInto 
JumpFrom 
JumpRegular 

Instances

Eq JumpType Source # 
Ord JumpType Source # 
Show JumpType Source # 
Generic JumpType Source # 

Associated Types

type Rep JumpType :: * -> * #

Methods

from :: JumpType -> Rep JumpType x #

to :: Rep JumpType x -> JumpType #

type Rep JumpType Source # 
type Rep JumpType = D1 * (MetaData "JumpType" "EVM.Solidity" "hevm-0.16-5a74lCQx1KPFycEOS1YSBh" False) ((:+:) * (C1 * (MetaCons "JumpInto" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "JumpFrom" PrefixI False) (U1 *)) (C1 * (MetaCons "JumpRegular" PrefixI False) (U1 *))))

data SolcContract Source #

Instances

Eq SolcContract Source # 
Show SolcContract Source # 
Generic SolcContract Source # 

Associated Types

type Rep SolcContract :: * -> * #

type Rep SolcContract Source # 

data SourceCache Source #

data SrcMap Source #

Constructors

SM 

Instances

astIdMap :: Foldable f => f Value -> Map Int Value Source #

Every node in the AST has an ID, and other nodes reference those IDs. This function recurses through the tree looking for objects with the "id" key and makes a big map from ID to value.