ActionParser Class

Definition

Line 380 of scmpg/Parser.cm

Inheritance

Constructors & Destructor

public ActionParser(CompoundStatementNode* successCode_, CompoundStatementNode* failCode_, Parser* child_)

Member Functions

public override void Accept(Visitor& visitor)
public override Parser* Clone() const
public CompoundStatementNode* FailCode() const
public override bool IsAction() const
public override bool IsActionToken() const
public CompoundStatementNode* SuccessCode() const

Member Variables

private UniquePtr<CompoundStatementNode> failCode
private UniquePtr<CompoundStatementNode> successCode

Constructor& Destructor Details

ActionParser Constructor

public ActionParser(CompoundStatementNode* successCode_, CompoundStatementNode* failCode_, Parser* child_)

Definition
Line 382 of scmpg/Parser.cm


Member Function Details

Accept Member Function

public override void Accept(Visitor& visitor)

Definition
Line 408 of scmpg/Parser.cm


Clone Member Function

public override Parser* Clone()

Definition
Line 398 of scmpg/Parser.cm


FailCode Member Function

public CompoundStatementNode* FailCode()

Definition
Line 390 of scmpg/Parser.cm


IsAction Member Function

public override bool IsAction()

Definition
Line 394 of scmpg/Parser.cm


IsActionToken Member Function

public override bool IsActionToken()

Definition
Line 412 of scmpg/Parser.cm


SuccessCode Member Function

public CompoundStatementNode* SuccessCode()

Definition
Line 386 of scmpg/Parser.cm