Parser.parse

Parses the given token stream into a sequence of bytes representing an EVM bytecode program.

class Parser
ubyte[]
parse

Parameters

scanner
Type: Scanner

The scanner used for tokenizing input.

Return Value

Type: ubyte[]

Bytes corresponding to EVM bytecode.

Throws

ParseError if an error is encountered while parsing.

Meta