Inheritance: AbsSyntax
コード例 #1
0
 public AbsSeqStmt(
     AbsSyntaxInfo info,
     AbsStmt head,
     AbsStmt tail)
     : base(info)
 {
     _head = head;
     _tail = tail;
 }
コード例 #2
0
 public AbsCase(
     AbsSyntaxInfo info,
     AbsTerm value,
     AbsStmt body)
     : base(info)
 {
     _value = value;
     _body  = body;
 }
コード例 #3
0
 public AbsForStmt(
     AbsSyntaxInfo info,
     Identifier name,
     AbsTerm sequence,
     AbsStmt body)
     : base(info)
 {
     _name     = name;
     _sequence = sequence;
     _body     = body;
 }
コード例 #4
0
 public AbsIfStmt(
     AbsSyntaxInfo info,
     AbsTerm condition,
     AbsStmt thenStmt,
     AbsStmt elseStmt)
     : base(info)
 {
     _condition = condition;
     _thenStmt  = thenStmt;
     _elseStmt  = elseStmt;
 }
コード例 #5
0
 public AbsMethodDecl(
     AbsSyntaxInfo inInfo,
     Identifier inName,
     AbsTerm inResultType,
     IEnumerable <AbsParamDecl> inParams,
     AbsStmt inBody)
     : base(inInfo, inName)
 {
     _params     = inParams.ToArray();
     _resultType = inResultType;
     _body       = inBody;
 }
コード例 #6
0
 public AbsMethodDecl(
     AbsSyntaxInfo inInfo,
     Identifier inName,
     AbsTerm inResultType,
     IEnumerable<AbsParamDecl> inParams,
     AbsStmt inBody)
     : base(inInfo, inName)
 {
     _params = inParams.ToArray();
     _resultType = inResultType;
     _body = inBody;
 }
コード例 #7
0
 public AbsIfStmt(
     AbsSyntaxInfo info,
     AbsTerm condition,
     AbsStmt thenStmt,
     AbsStmt elseStmt)
     : base(info)
 {
     _condition = condition;
     _thenStmt = thenStmt;
     _elseStmt = elseStmt;
 }
コード例 #8
0
 public AbsForStmt(
     AbsSyntaxInfo info,
     Identifier name,
     AbsTerm sequence,
     AbsStmt body )
     : base(info)
 {
     _name = name;
     _sequence = sequence;
     _body = body;
 }
コード例 #9
0
 public AbsCase(
     AbsSyntaxInfo info,
     AbsTerm value,
     AbsStmt body )
     : base(info)
 {
     _value = value;
     _body = body;
 }
コード例 #10
0
 public AbsSeqStmt(
     AbsSyntaxInfo info,
     AbsStmt head,
     AbsStmt tail)
     : base(info)
 {
     _head = head;
     _tail = tail;
 }