Lines Matching refs:mStep
496 explicit LogicalStep(Args&&... args) : mStep(std::forward<Args>(args)...) {} in LogicalStep()
498 bool isExecution() const { return std::holds_alternative<ExecutionStep>(mStep); } in isExecution()
499 bool isIf() const { return std::holds_alternative<IfStep>(mStep); } in isIf()
500 bool isWhile() const { return std::holds_alternative<WhileStep>(mStep); } in isWhile()
501 bool isGoto() const { return std::holds_alternative<GotoStep>(mStep); } in isGoto()
504 ExecutionStep* executionStep() { return &std::get<ExecutionStep>(mStep); } in executionStep()
505 IfStep* ifStep() { return &std::get<IfStep>(mStep); } in ifStep()
506 WhileStep* whileStep() { return &std::get<WhileStep>(mStep); } in whileStep()
507 GotoStep* gotoStep() { return &std::get<GotoStep>(mStep); } in gotoStep()
510 const ExecutionStep* executionStep() const { return &std::get<ExecutionStep>(mStep); } in executionStep()
511 const IfStep* ifStep() const { return &std::get<IfStep>(mStep); } in ifStep()
512 const WhileStep* whileStep() const { return &std::get<WhileStep>(mStep); } in whileStep()
513 const GotoStep* gotoStep() const { return &std::get<GotoStep>(mStep); } in gotoStep()
516 ExecutionStep* tryExecutionStep() { return std::get_if<ExecutionStep>(&mStep); } in tryExecutionStep()
517 IfStep* tryIfStep() { return std::get_if<IfStep>(&mStep); } in tryIfStep()
518 WhileStep* tryWhileStep() { return std::get_if<WhileStep>(&mStep); } in tryWhileStep()
519 GotoStep* tryGotoStep() { return std::get_if<GotoStep>(&mStep); } in tryGotoStep()
522 const ExecutionStep* tryExecutionStep() const { return std::get_if<ExecutionStep>(&mStep); } in tryExecutionStep()
523 const IfStep* tryIfStep() const { return std::get_if<IfStep>(&mStep); } in tryIfStep()
524 const WhileStep* tryWhileStep() const { return std::get_if<WhileStep>(&mStep); } in tryWhileStep()
525 const GotoStep* tryGotoStep() const { return std::get_if<GotoStep>(&mStep); } in tryGotoStep()
530 std::variant<ExecutionStep, IfStep, WhileStep, GotoStep> mStep;