コード例 #1
0
 public If(LoxLangInCSharp.Expression condition, LoxLangInCSharp.Statement thenBranch, LoxLangInCSharp.Statement elseBranch)
 {
     this.condition  = condition;
     this.thenBranch = thenBranch;
     this.elseBranch = elseBranch;
 }
コード例 #2
0
 public Expression(LoxLangInCSharp.Expression expression)
 {
     this.expression = expression;
 }
コード例 #3
0
 public Var(Token name, LoxLangInCSharp.Expression initialiser)
 {
     this.name        = name;
     this.initialiser = initialiser;
 }
コード例 #4
0
 public While(LoxLangInCSharp.Expression condition, LoxLangInCSharp.Statement body)
 {
     this.condition = condition;
     this.body      = body;
 }
コード例 #5
0
 public Return(Token keyword, LoxLangInCSharp.Expression value)
 {
     this.keyword = keyword;
     this.value   = value;
 }