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