示例#1
0
文件: AstReader.cs 项目: mortend/uno
 public AstValueStatement ReadValueStatement(AstStatementType type)
 {
     return(new AstValueStatement(
                ReadSource(),
                (AstValueStatementType)type,
                ReadExpression()));
 }
示例#2
0
文件: AstReader.cs 项目: mortend/uno
 public AstLoop ReadLoop(AstStatementType type)
 {
     return(new AstLoop(
                ReadSource(),
                (AstLoopType)type,
                ReadExpression(),
                ReadStatement()));
 }
示例#3
0
文件: AstReader.cs 项目: mortend/uno
 public AstModifiedStatement ReadModifiedStatement(AstStatementType type)
 {
     return(new AstModifiedStatement(
                ReadSource(), (AstStatementModifier)type,
                ReadStatement()));
 }
示例#4
0
文件: AstReader.cs 项目: mortend/uno
 public AstEmptyStatement ReadEmptyStatement(AstStatementType type)
 {
     return(new AstEmptyStatement(
                ReadSource(), (AstEmptyStatementType)type));
 }