コード例 #1
0
 public AbsBlockStmt(
     AbsSyntaxInfo inInfo,
     IEnumerable <AbsStmt> inStatements)
     : base(inInfo)
 {
     _stmts = inStatements.ToArray();
 }
コード例 #2
0
 public AbsExpStmt(
     AbsSyntaxInfo info,
     AbsTerm value)
     : base(info)
 {
     _value = value;
 }
コード例 #3
0
 public AbsReturnStmt(
     AbsSyntaxInfo inInfo,
     AbsTerm inExp)
     : base(inInfo)
 {
     _exp = inExp;
 }
コード例 #4
0
 public AbsSourceRecord(
     AbsSyntaxInfo inInfo,
     IEnumerable <AbsGlobalDecl> inDecls)
     : base(inInfo)
 {
     _decls = inDecls.ToArray();
 }
コード例 #5
0
 public AbsVarRef(
     AbsSyntaxInfo inInfo,
     Identifier inName)
     : base(inInfo)
 {
     _name = inName;
 }
コード例 #6
0
 public AbsPositionalArg(
     AbsSyntaxInfo info,
     AbsTerm term)
     : base(info)
 {
     _term = term;
 }
コード例 #7
0
 public AbsMemberDecl(
     AbsSyntaxInfo inInfo,
     Identifier inName)
     : base(inInfo)
 {
     _name = inName;
 }
コード例 #8
0
 public AbsGenericParamDecl(
     AbsSyntaxInfo info,
     Identifier name)
     : base(info)
 {
     _name = name;
 }
コード例 #9
0
 public AbsStructDecl(
     AbsSyntaxInfo info,
     Identifier name,
     IEnumerable <AbsMemberDecl> members)
     : base(info, name)
 {
     _members = members.ToArray();
 }
コード例 #10
0
 public AbsAttribute(
     AbsSyntaxInfo info,
     Identifier name,
     IEnumerable <AbsArg> args)
     : base(info)
 {
     _name = name;
     _args = args.ToArray();
 }
コード例 #11
0
 public AbsParamDecl(
     AbsSyntaxInfo inInfo,
     Identifier inName,
     AbsTerm inType)
     : base(inInfo)
 {
     _name = inName;
     _type = inType;
 }
コード例 #12
0
 public AbsFreqQualTerm(
     AbsSyntaxInfo info,
     AbsTerm frequency,
     AbsTerm type)
     : base(info)
 {
     _freq = frequency;
     _type = type;
 }
コード例 #13
0
 public AbsSwitchStmt(
     AbsSyntaxInfo info,
     AbsTerm value,
     IEnumerable <AbsCase> cases)
     : base(info)
 {
     _value = value;
     _cases = cases.ToArray();
 }
コード例 #14
0
 public AbsCase(
     AbsSyntaxInfo info,
     AbsTerm value,
     AbsStmt body)
     : base(info)
 {
     _value = value;
     _body  = body;
 }
コード例 #15
0
 public AbsMemberRef(
     AbsSyntaxInfo inInfo,
     AbsTerm inBaseObject,
     Identifier inMemberName)
     : base(inInfo)
 {
     _baseObject = inBaseObject;
     _memberName = inMemberName;
 }
コード例 #16
0
 public AbsSeqStmt(
     AbsSyntaxInfo info,
     AbsStmt head,
     AbsStmt tail)
     : base(info)
 {
     _head = head;
     _tail = tail;
 }
コード例 #17
0
 public AbsElementRef(
     AbsSyntaxInfo inInfo,
     AbsTerm inBaseObject,
     AbsTerm inIndex)
     : base(inInfo)
 {
     _baseObject = inBaseObject;
     _index      = inIndex;
 }
コード例 #18
0
 public AbsGenericApp(
     AbsSyntaxInfo inInfo,
     AbsTerm inFunction,
     IEnumerable <AbsArg> inArguments)
     : base(inInfo)
 {
     _function  = inFunction;
     _arguments = inArguments.ToArray();
 }
コード例 #19
0
 public AbsAssign(
     AbsSyntaxInfo info,
     AbsTerm left,
     AbsTerm right)
     : base(info)
 {
     _left  = left;
     _right = right;
 }
コード例 #20
0
 public AbsApp(
     AbsSyntaxInfo inInfo,
     AbsTerm inFunction,
     IEnumerable<AbsArg> inArguments)
     : base(inInfo)
 {
     _function = inFunction;
     _arguments = inArguments.ToArray();
 }
コード例 #21
0
 public AbsKeywordArg(
     AbsSyntaxInfo info,
     Identifier name,
     AbsTerm term)
     : base(info)
 {
     _name = name;
     _term = term;
 }
コード例 #22
0
 public AbsSlotDecl(
     AbsSyntaxInfo inInfo,
     Identifier inName,
     AbsTerm inType,
     AbsTerm inInit)
     : base(inInfo, inName)
 {
     _type = inType;
     _init = inInit;
 }
コード例 #23
0
 public AbsGenericValueParamDecl(
     AbsSyntaxInfo info,
     AbsTerm type,
     Identifier name,
     bool isImplicit)
     : base(info, name)
 {
     _type       = type;
     _isImplicit = isImplicit;
 }
コード例 #24
0
 public AbsConceptDecl(
     AbsSyntaxInfo info,
     Identifier name,
     IEnumerable <AbsGenericParamDecl> genericParams,
     IEnumerable <AbsMemberDecl> members)
     : base(info, name)
 {
     _genericParams = genericParams == null ? null :
                      genericParams.ToArray();
     _members = members.ToArray();
 }
コード例 #25
0
 public AbsIfStmt(
     AbsSyntaxInfo info,
     AbsTerm condition,
     AbsStmt thenStmt,
     AbsStmt elseStmt)
     : base(info)
 {
     _condition = condition;
     _thenStmt  = thenStmt;
     _elseStmt  = elseStmt;
 }
コード例 #26
0
 public AbsForStmt(
     AbsSyntaxInfo info,
     Identifier name,
     AbsTerm sequence,
     AbsStmt body)
     : base(info)
 {
     _name     = name;
     _sequence = sequence;
     _body     = body;
 }
コード例 #27
0
 public AbsPipelineDecl(
     AbsSyntaxInfo info,
     Identifier name,
     IEnumerable <AbsTerm> bases,
     IEnumerable <AbsMemberDecl> members)
     : base(info)
 {
     _name    = name;
     _bases   = bases.ToArray();
     _members = members.ToArray();
 }
コード例 #28
0
 public AbsIfTerm(
     AbsSyntaxInfo info,
     AbsTerm condition,
     AbsTerm thenTerm,
     AbsTerm elseTerm)
     : base(info)
 {
     _condition = condition;
     _thenTerm  = thenTerm;
     _elseTerm  = elseTerm;
 }
コード例 #29
0
 public AbsMethodDecl(
     AbsSyntaxInfo inInfo,
     Identifier inName,
     AbsTerm inResultType,
     IEnumerable <AbsParamDecl> inParams,
     AbsStmt inBody)
     : base(inInfo, inName)
 {
     _params     = inParams.ToArray();
     _resultType = inResultType;
     _body       = inBody;
 }
コード例 #30
0
 public AbsLetStmt(
     AbsSyntaxInfo info,
     AbsLetFlavor flavor,
     AbsTerm type,
     Identifier name,
     AbsTerm value)
     : base(info)
 {
     _flavor = flavor;
     _type   = type;
     _name   = name;
     _value  = value;
 }
コード例 #31
0
 public AbsVoid(
     AbsSyntaxInfo info)
     : base(info)
 {
 }
コード例 #32
0
 public AbsGenericTypeParamDecl(
     AbsSyntaxInfo info,
     Identifier name)
     : base(info, name)
 {
 }
コード例 #33
0
 public AbsAttribute(
     AbsSyntaxInfo info,
     Identifier name,
     IEnumerable<AbsArg> args)
     : base(info)
 {
     _name = name;
     _args = args.ToArray();
 }
コード例 #34
0
 public AbsVarRef(
     AbsSyntaxInfo inInfo,
     Identifier inName)
     : base(inInfo)
 {
     _name = inName;
 }
コード例 #35
0
 public AbsTerm(
     AbsSyntaxInfo inInfo)
     : base(inInfo)
 {
 }
コード例 #36
0
 public AbsExpStmt(
     AbsSyntaxInfo info,
     AbsTerm value)
     : base(info)
 {
     _value = value;
 }
コード例 #37
0
 public AbsLetStmt(
     AbsSyntaxInfo info,
     AbsLetFlavor flavor,
     AbsTerm type,
     Identifier name,
     AbsTerm value )
     : base(info)
 {
     _flavor = flavor;
     _type = type;
     _name = name;
     _value = value;
 }
コード例 #38
0
 public AbsElementDecl(
     AbsSyntaxInfo info,
     Identifier name)
     : base(info, name)
 {
 }
コード例 #39
0
 public AbsLit(
     AbsSyntaxInfo inInfo)
     : base(inInfo)
 {
 }
コード例 #40
0
 public AbsGlobalDecl(
     AbsSyntaxInfo info)
     : base(info)
 {
 }
コード例 #41
0
 public AbsCase(
     AbsSyntaxInfo info,
     AbsTerm value,
     AbsStmt body )
     : base(info)
 {
     _value = value;
     _body = body;
 }
コード例 #42
0
 public AbsMemberDecl(
     AbsSyntaxInfo inInfo,
     Identifier inName)
     : base(inInfo)
 {
     _name = inName;
 }
コード例 #43
0
 public AbsGenericParamDecl(
     AbsSyntaxInfo info,
     Identifier name)
     : base(info)
 {
     _name = name;
 }
コード例 #44
0
 public AbsElementRef(
     AbsSyntaxInfo inInfo,
     AbsTerm inBaseObject,
     AbsTerm inIndex)
     : base(inInfo)
 {
     _baseObject = inBaseObject;
     _index = inIndex;
 }
コード例 #45
0
 public AbsIfStmt(
     AbsSyntaxInfo info,
     AbsTerm condition,
     AbsStmt thenStmt,
     AbsStmt elseStmt)
     : base(info)
 {
     _condition = condition;
     _thenStmt = thenStmt;
     _elseStmt = elseStmt;
 }
コード例 #46
0
 public AbsTypeSlotDecl(
     AbsSyntaxInfo info,
     Identifier name)
     : base(info, name)
 {
 }
コード例 #47
0
 public AbsFreqQualTerm(
     AbsSyntaxInfo info,
     AbsTerm frequency,
     AbsTerm type)
     : base(info)
 {
     _freq = frequency;
     _type = type;
 }
コード例 #48
0
 public AbsKeywordArg(
     AbsSyntaxInfo info,
     Identifier name,
     AbsTerm term)
     : base(info)
 {
     _name = name;
     _term = term;
 }
コード例 #49
0
 public AbsForStmt(
     AbsSyntaxInfo info,
     Identifier name,
     AbsTerm sequence,
     AbsStmt body )
     : base(info)
 {
     _name = name;
     _sequence = sequence;
     _body = body;
 }
コード例 #50
0
 public AbsMemberRef(
     AbsSyntaxInfo inInfo,
     AbsTerm inBaseObject,
     Identifier inMemberName)
     : base(inInfo)
 {
     _baseObject = inBaseObject;
     _memberName = inMemberName;
 }
コード例 #51
0
 public AbsEmptyStmt(
     AbsSyntaxInfo info)
     : base(info)
 {
 }
コード例 #52
0
 public AbsGenericValueParamDecl(
     AbsSyntaxInfo info,
     AbsTerm type,
     Identifier name,
     bool isImplicit)
     : base(info, name)
 {
     _type = type;
     _isImplicit = isImplicit;
 }
コード例 #53
0
 public AbsBaseExp(
     AbsSyntaxInfo info)
     : base(info)
 {
 }
コード例 #54
0
 public AbsAttribute(
     AbsSyntaxInfo info,
     Identifier name)
     : this(info, name, new AbsArg[] { })
 {
 }
コード例 #55
0
 public AbsBlockStmt(
     AbsSyntaxInfo inInfo,
     IEnumerable<AbsStmt> inStatements)
     : base(inInfo)
 {
     _stmts = inStatements.ToArray();
 }
コード例 #56
0
 public AbsIfTerm(
     AbsSyntaxInfo info,
     AbsTerm condition,
     AbsTerm thenTerm,
     AbsTerm elseTerm)
     : base(info)
 {
     _condition = condition;
     _thenTerm = thenTerm;
     _elseTerm = elseTerm;
 }
コード例 #57
0
 public AbsMethodDecl(
     AbsSyntaxInfo inInfo,
     Identifier inName,
     AbsTerm inResultType,
     IEnumerable<AbsParamDecl> inParams,
     AbsStmt inBody)
     : base(inInfo, inName)
 {
     _params = inParams.ToArray();
     _resultType = inResultType;
     _body = inBody;
 }
コード例 #58
0
 public AbsConceptDecl(
     AbsSyntaxInfo info,
     Identifier name,
     IEnumerable<AbsGenericParamDecl> genericParams,
     IEnumerable<AbsMemberDecl> members )
     : base(info, name)
 {
     _genericParams = genericParams == null ? null :
         genericParams.ToArray();
     _members = members.ToArray();
 }
コード例 #59
0
 public AbsBaseExp(
     AbsSyntaxInfo info)
     : base(info)
 {
 }
コード例 #60
0
 public AbsSyntax(
     AbsSyntaxInfo inInfo)
 {
     _info = inInfo;
 }