parser

package
v0.0.0-...-bb13fef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package parser implements contract parsing

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct {
}

Parser parses function contracts

func NewParser

func NewParser() Parser

NewParser create a new contract parser

func (Parser) Parse

func (p Parser) Parse(contract *contract.FuncContract, line string) error

Parse enrich the Contract with the clause if present in the given comment line @requires contract != nil

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL