public AstValueStatement ReadValueStatement(AstStatementType type) { return(new AstValueStatement( ReadSource(), (AstValueStatementType)type, ReadExpression())); }
public AstLoop ReadLoop(AstStatementType type) { return(new AstLoop( ReadSource(), (AstLoopType)type, ReadExpression(), ReadStatement())); }
public AstModifiedStatement ReadModifiedStatement(AstStatementType type) { return(new AstModifiedStatement( ReadSource(), (AstStatementModifier)type, ReadStatement())); }
public AstEmptyStatement ReadEmptyStatement(AstStatementType type) { return(new AstEmptyStatement( ReadSource(), (AstEmptyStatementType)type)); }