Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsStar ¶
func IsStar(obj oj.OJsonObject) bool
IsStar returns whether check object is othe form "*".
Types ¶
type Parser ¶
type Parser struct { ExprInterpreter ei.ExprInterpreter AllowEsdtTxLegacySyntax bool AllowEsdtLegacySetSyntax bool AllowEsdtLegacyCheckSyntax bool AllowSingleValueInCheckValueList bool }
Parser performs parsing of both json tests (older) and scenarios (new).
func NewParser ¶
func NewParser(fileResolver fr.FileResolver, vmType []byte) Parser
NewParser provides a new Parser instance.
func (*Parser) ParseScenarioFile ¶
ParseScenarioFile converts a scenario json string to scenario object representation
Click to show internal directories.
Click to hide internal directories.