Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
WAST::AssertTrapCommand Struct Reference

#include <TestScript.h>

Inheritance diagram for WAST::AssertTrapCommand:
Collaboration diagram for WAST::AssertTrapCommand:

Public Member Functions

 AssertTrapCommand (TextFileLocus &&inLocus, Action *inAction, Runtime::Exception::Cause inExpectedCause)
 
- Public Member Functions inherited from WAST::Command
 Command (Type inType, TextFileLocus &&inLocus)
 

Public Attributes

std::unique_ptr< Actionaction
 
Runtime::Exception::Cause expectedCause
 
- Public Attributes inherited from WAST::Command
const Type type
 
const TextFileLocus locus
 

Additional Inherited Members

- Public Types inherited from WAST::Command
enum  Type {
  _register , action , assert_return , assert_return_canonical_nan ,
  assert_return_arithmetic_nan , assert_trap , assert_invalid , assert_malformed ,
  assert_unlinkable
}
 

Detailed Description

Definition at line 116 of file TestScript.h.

Constructor & Destructor Documentation

◆ AssertTrapCommand()

WAST::AssertTrapCommand::AssertTrapCommand ( TextFileLocus && inLocus,
Action * inAction,
Runtime::Exception::Cause inExpectedCause )
inline

Definition at line 120 of file TestScript.h.

121 : Command(Command::assert_trap,std::move(inLocus)), action(inAction), expectedCause(inExpectedCause) {}
struct Command Command
Definition main.c:88
Runtime::Exception::Cause expectedCause
Definition TestScript.h:119
std::unique_ptr< Action > action
Definition TestScript.h:118

Member Data Documentation

◆ action

std::unique_ptr<Action> WAST::AssertTrapCommand::action

Definition at line 118 of file TestScript.h.

◆ expectedCause

Runtime::Exception::Cause WAST::AssertTrapCommand::expectedCause

Definition at line 119 of file TestScript.h.


The documentation for this struct was generated from the following file: