IfStatement
Object Hierarchy:
Description:
public class IfStatement :
CodeNode,
Statement
Represents an if selection statement in the source code.
Content:
Properties:
- public Expression condition { get; private set; }
The boolean condition to evaluate.
- public Block? false_statement { get; private set; }
The optional statement to be evaluated if the condition doesn't hold.
- public Block true_statement { get; private set; }
The statement to be evaluated if the condition holds.
Creation methods:
Methods:
Fields:
Inherited Members:
All known members inherited from class Vala.CodeNode