Example #1
0
 public AstValueStatement ReadValueStatement(AstStatementType type)
 {
     return(new AstValueStatement(
                ReadSource(),
                (AstValueStatementType)type,
                ReadExpression()));
 }
Example #2
0
 public AstLoop ReadLoop(AstStatementType type)
 {
     return(new AstLoop(
                ReadSource(),
                (AstLoopType)type,
                ReadExpression(),
                ReadStatement()));
 }
Example #3
0
 public AstModifiedStatement ReadModifiedStatement(AstStatementType type)
 {
     return(new AstModifiedStatement(
                ReadSource(), (AstStatementModifier)type,
                ReadStatement()));
 }
Example #4
0
 public AstEmptyStatement ReadEmptyStatement(AstStatementType type)
 {
     return(new AstEmptyStatement(
                ReadSource(), (AstEmptyStatementType)type));
 }