| 421 | | public this(CompileLoc location, CompileLoc endLocation, Identifier name, Expression baseObject, Field[] fields, TableCtorExp attrs = null) |
|---|
| 422 | | { |
|---|
| 423 | | super(location, endLocation, AstTag.ObjectDef); |
|---|
| | 440 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Identifier name, Expression baseObject, Field[] fields, TableCtorExp attrs = null) |
|---|
| | 441 | { |
|---|
| | 442 | super(c, location, endLocation, AstTag.ObjectDef); |
|---|
| 520 | | public this(CompileLoc location, Identifier name, Param[] params, bool isVararg, Statement code, TableCtorExp attrs = null) |
|---|
| 521 | | { |
|---|
| 522 | | super(location, code.endLocation, AstTag.FuncDef); |
|---|
| | 544 | public this(ICompiler c, CompileLoc location, Identifier name, Param[] params, bool isVararg, Statement code, TableCtorExp attrs = null) |
|---|
| | 545 | { |
|---|
| | 546 | super(c, location, code.endLocation, AstTag.FuncDef); |
|---|
| 578 | | public this(CompileLoc location, CompileLoc endLocation, Identifier name, Expression parent, Field[] fields, TableCtorExp attrs = null) |
|---|
| 579 | | { |
|---|
| 580 | | super(location, endLocation, AstTag.NamespaceDef); |
|---|
| | 610 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Identifier name, Expression parent, Field[] fields, TableCtorExp attrs = null) |
|---|
| | 611 | { |
|---|
| | 612 | super(c, location, endLocation, AstTag.NamespaceDef); |
|---|
| 605 | | public this(CompileLoc location, CompileLoc endLocation, ModuleDecl modDecl, Statement[] statements) |
|---|
| 606 | | { |
|---|
| 607 | | super(location, endLocation, AstTag.Module); |
|---|
| | 642 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, ModuleDecl modDecl, Statement[] statements) |
|---|
| | 643 | { |
|---|
| | 644 | super(c, location, endLocation, AstTag.Module); |
|---|
| 631 | | public this(CompileLoc location, CompileLoc endLocation, dchar[][] names, TableCtorExp attrs) |
|---|
| 632 | | { |
|---|
| 633 | | super(location, endLocation, AstTag.ModuleDecl); |
|---|
| | 673 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, dchar[][] names, TableCtorExp attrs) |
|---|
| | 674 | { |
|---|
| | 675 | super(c, location, endLocation, AstTag.ModuleDecl); |
|---|
| 644 | | public this(CompileLoc location, CompileLoc endLocation, AstTag type) |
|---|
| 645 | | { |
|---|
| 646 | | super(location, endLocation, type); |
|---|
| | 691 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, AstTag type) |
|---|
| | 692 | { |
|---|
| | 693 | super(c, location, endLocation, type); |
|---|
| 685 | | public this(CompileLoc location, CompileLoc endLocation, AstTag type, Protection protection) |
|---|
| 686 | | { |
|---|
| 687 | | super(location, endLocation, type); |
|---|
| | 732 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, AstTag type, Protection protection) |
|---|
| | 733 | { |
|---|
| | 734 | super(c, location, endLocation, type); |
|---|
| 707 | | public this(CompileLoc location, Protection protection, FuncDef def) |
|---|
| 708 | | { |
|---|
| 709 | | super(location, def.endLocation, AstTag.FuncDecl, protection); |
|---|
| | 754 | public this(ICompiler c, CompileLoc location, Protection protection, FuncDef def) |
|---|
| | 755 | { |
|---|
| | 756 | super(c, location, def.endLocation, AstTag.FuncDecl, protection); |
|---|
| 727 | | public this(CompileLoc location, Protection protection, ObjectDef def) |
|---|
| 728 | | { |
|---|
| 729 | | super(location, def.endLocation, AstTag.ObjectDecl, protection); |
|---|
| | 774 | public this(ICompiler c, CompileLoc location, Protection protection, ObjectDef def) |
|---|
| | 775 | { |
|---|
| | 776 | super(c, location, def.endLocation, AstTag.ObjectDecl, protection); |
|---|
| 747 | | public this(CompileLoc location, Protection protection, NamespaceDef def) |
|---|
| 748 | | { |
|---|
| 749 | | super(location, def.endLocation, AstTag.NamespaceDecl, protection); |
|---|
| | 794 | public this(ICompiler c, CompileLoc location, Protection protection, NamespaceDef def) |
|---|
| | 795 | { |
|---|
| | 796 | super(c, location, def.endLocation, AstTag.NamespaceDecl, protection); |
|---|
| 774 | | public this(CompileLoc location, CompileLoc endLocation, Protection protection, Identifier[] names, Expression initializer) |
|---|
| 775 | | { |
|---|
| 776 | | super(location, endLocation, AstTag.VarDecl, protection); |
|---|
| | 821 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Protection protection, Identifier[] names, Expression initializer) |
|---|
| | 822 | { |
|---|
| | 823 | super(c, location, endLocation, AstTag.VarDecl, protection); |
|---|
| 801 | | public this(CompileLoc location, CompileLoc endLocation, Expression cond, Expression msg = null) |
|---|
| 802 | | { |
|---|
| 803 | | super(location, endLocation, AstTag.AssertStmt); |
|---|
| | 853 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Expression cond, Expression msg = null) |
|---|
| | 854 | { |
|---|
| | 855 | super(c, location, endLocation, AstTag.AssertStmt); |
|---|
| 843 | | public this(CompileLoc location, CompileLoc endLocation, Identifier importName, Expression expr, Identifier[] symbols, Identifier[] symbolNames) |
|---|
| 844 | | { |
|---|
| 845 | | super(location, endLocation, AstTag.ImportStmt); |
|---|
| | 895 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Identifier importName, Expression expr, Identifier[] symbols, Identifier[] symbolNames) |
|---|
| | 896 | { |
|---|
| | 897 | super(c, location, endLocation, AstTag.ImportStmt); |
|---|
| 865 | | public this(CompileLoc location, CompileLoc endLocation, Statement[] statements) |
|---|
| 866 | | { |
|---|
| 867 | | super(location, endLocation, AstTag.BlockStmt); |
|---|
| | 923 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Statement[] statements) |
|---|
| | 924 | { |
|---|
| | 925 | super(c, location, endLocation, AstTag.BlockStmt); |
|---|
| 914 | | public this(CompileLoc location, CompileLoc endLocation, Expression expr) |
|---|
| 915 | | { |
|---|
| 916 | | super(location, endLocation, AstTag.ExpressionStmt); |
|---|
| | 977 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Expression expr) |
|---|
| | 978 | { |
|---|
| | 979 | super(c, location, endLocation, AstTag.ExpressionStmt); |
|---|
| 959 | | public this(CompileLoc location, CompileLoc endLocation, Identifier condVar, Expression condition, Statement ifBody, Statement elseBody) |
|---|
| 960 | | { |
|---|
| 961 | | super(location, endLocation, AstTag.IfStmt); |
|---|
| | 1022 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Identifier condVar, Expression condition, Statement ifBody, Statement elseBody) |
|---|
| | 1023 | { |
|---|
| | 1024 | super(c, location, endLocation, AstTag.IfStmt); |
|---|
| 994 | | public this(CompileLoc location, Identifier condVar, Expression condition, Statement code) |
|---|
| 995 | | { |
|---|
| 996 | | super(location, code.endLocation, AstTag.WhileStmt); |
|---|
| | 1057 | public this(ICompiler c, CompileLoc location, Identifier condVar, Expression condition, Statement code) |
|---|
| | 1058 | { |
|---|
| | 1059 | super(c, location, code.endLocation, AstTag.WhileStmt); |
|---|
| 1021 | | public this(CompileLoc location, CompileLoc endLocation, Statement code, Expression condition) |
|---|
| 1022 | | { |
|---|
| 1023 | | super(location, endLocation, AstTag.DoWhileStmt); |
|---|
| | 1084 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Statement code, Expression condition) |
|---|
| | 1085 | { |
|---|
| | 1086 | super(c, location, endLocation, AstTag.DoWhileStmt); |
|---|
| 1087 | | public this(CompileLoc location, Init[] init, Expression cond, Statement[] inc, Statement code) |
|---|
| 1088 | | { |
|---|
| 1089 | | super(location, endLocation, AstTag.ForStmt); |
|---|
| | 1150 | public this(ICompiler c, CompileLoc location, Init[] init, Expression cond, Statement[] inc, Statement code) |
|---|
| | 1151 | { |
|---|
| | 1152 | super(c, location, endLocation, AstTag.ForStmt); |
|---|
| 1134 | | public this(CompileLoc location, Identifier index, Expression lo, Expression hi, Expression step, Statement code) |
|---|
| 1135 | | { |
|---|
| 1136 | | super(location, code.endLocation, AstTag.ForNumStmt); |
|---|
| | 1203 | public this(ICompiler c, CompileLoc location, Identifier index, Expression lo, Expression hi, Expression step, Statement code) |
|---|
| | 1204 | { |
|---|
| | 1205 | super(c, location, code.endLocation, AstTag.ForNumStmt); |
|---|
| 1173 | | public this(CompileLoc location, Identifier[] indices, Expression[] container, Statement code) |
|---|
| 1174 | | { |
|---|
| 1175 | | super(location, code.endLocation, AstTag.ForeachStmt); |
|---|
| | 1242 | public this(ICompiler c, CompileLoc location, Identifier[] indices, Expression[] container, Statement code) |
|---|
| | 1243 | { |
|---|
| | 1244 | super(c, location, code.endLocation, AstTag.ForeachStmt); |
|---|
| 1205 | | public this(CompileLoc location, CompileLoc endLocation, Expression condition, CaseStmt[] cases, DefaultStmt caseDefault) |
|---|
| 1206 | | { |
|---|
| 1207 | | super(location, endLocation, AstTag.SwitchStmt); |
|---|
| | 1280 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Expression condition, CaseStmt[] cases, DefaultStmt caseDefault) |
|---|
| | 1281 | { |
|---|
| | 1282 | super(c, location, endLocation, AstTag.SwitchStmt); |
|---|
| 1236 | | public this(CompileLoc location, CompileLoc endLocation, Expression[] conditions, Statement code) |
|---|
| 1237 | | { |
|---|
| 1238 | | super(location, endLocation, AstTag.CaseStmt); |
|---|
| | 1316 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Expression[] conditions, Statement code) |
|---|
| | 1317 | { |
|---|
| | 1318 | super(c, location, endLocation, AstTag.CaseStmt); |
|---|
| 1256 | | public this(CompileLoc location, CompileLoc endLocation, Statement code) |
|---|
| 1257 | | { |
|---|
| 1258 | | super(location, endLocation, AstTag.DefaultStmt); |
|---|
| | 1341 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Statement code) |
|---|
| | 1342 | { |
|---|
| | 1343 | super(c, location, endLocation, AstTag.DefaultStmt); |
|---|
| 1301 | | public this(CompileLoc location, CompileLoc endLocation, Expression[] exprs) |
|---|
| 1302 | | { |
|---|
| 1303 | | super(location, endLocation, AstTag.ReturnStmt); |
|---|
| | 1386 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Expression[] exprs) |
|---|
| | 1387 | { |
|---|
| | 1388 | super(c, location, endLocation, AstTag.ReturnStmt); |
|---|
| 1341 | | public this(CompileLoc location, CompileLoc endLocation, Statement tryBody, Identifier catchVar, Statement catchBody, Statement finallyBody) |
|---|
| 1342 | | { |
|---|
| 1343 | | super(location, endLocation, AstTag.TryStmt); |
|---|
| | 1431 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Statement tryBody, Identifier catchVar, Statement catchBody, Statement finallyBody) |
|---|
| | 1432 | { |
|---|
| | 1433 | super(c, location, endLocation, AstTag.TryStmt); |
|---|
| 1392 | | public this(CompileLoc location, CompileLoc endLocation, Expression[] lhs, Expression rhs) |
|---|
| 1393 | | { |
|---|
| 1394 | | super(location, endLocation, AstTag.AssignStmt); |
|---|
| | 1482 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Expression[] lhs, Expression rhs) |
|---|
| | 1483 | { |
|---|
| | 1484 | super(c, location, endLocation, AstTag.AssignStmt); |
|---|
| 1419 | | public this(CompileLoc location, CompileLoc endLocation, AstTag type, Expression lhs, Expression rhs) |
|---|
| 1420 | | { |
|---|
| 1421 | | super(location, endLocation, type); |
|---|
| | 1514 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, AstTag type, Expression lhs, Expression rhs) |
|---|
| | 1515 | { |
|---|
| | 1516 | super(c, location, endLocation, type); |
|---|
| 1434 | | public this(CompileLoc location, CompileLoc endLocation, Expression lhs, Expression rhs) |
|---|
| 1435 | | { |
|---|
| 1436 | | super(location, endLocation, AstTag.AddAssignStmt, lhs, rhs); |
|---|
| | 1529 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Expression lhs, Expression rhs) |
|---|
| | 1530 | { |
|---|
| | 1531 | super(c, location, endLocation, AstTag.AddAssignStmt, lhs, rhs); |
|---|
| 1447 | | public this(CompileLoc location, CompileLoc endLocation, Expression lhs, Expression rhs) |
|---|
| 1448 | | { |
|---|
| 1449 | | super(location, endLocation, AstTag.SubAssignStmt, lhs, rhs); |
|---|
| | 1542 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Expression lhs, Expression rhs) |
|---|
| | 1543 | { |
|---|
| | 1544 | super(c, location, endLocation, AstTag.SubAssignStmt, lhs, rhs); |
|---|
| 1469 | | private Expression[] operands; |
|---|
| 1470 | | private bool collapsed = false; |
|---|
| 1471 | | |
|---|
| 1472 | | /** |
|---|
| 1473 | | */ |
|---|
| 1474 | | public this(CompileLoc location, CompileLoc endLocation, Expression lhs, Expression rhs) |
|---|
| 1475 | | { |
|---|
| 1476 | | super(location, endLocation, AstTag.CatAssignStmt); |
|---|
| | 1564 | public Expression[] operands; |
|---|
| | 1565 | public bool collapsed = false; |
|---|
| | 1566 | |
|---|
| | 1567 | /** |
|---|
| | 1568 | */ |
|---|
| | 1569 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Expression lhs, Expression rhs) |
|---|
| | 1570 | { |
|---|
| | 1571 | super(c, location, endLocation, AstTag.CatAssignStmt); |
|---|
| 1489 | | public this(CompileLoc location, CompileLoc endLocation, Expression lhs, Expression rhs) |
|---|
| 1490 | | { |
|---|
| 1491 | | super(location, endLocation, AstTag.MulAssignStmt, lhs, rhs); |
|---|
| | 1589 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Expression lhs, Expression rhs) |
|---|
| | 1590 | { |
|---|
| | 1591 | super(c, location, endLocation, AstTag.MulAssignStmt, lhs, rhs); |
|---|
| 1502 | | public this(CompileLoc location, CompileLoc endLocation, Expression lhs, Expression rhs) |
|---|
| 1503 | | { |
|---|
| 1504 | | super(location, endLocation, AstTag.DivAssignStmt, lhs, rhs); |
|---|
| | 1602 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Expression lhs, Expression rhs) |
|---|
| | 1603 | { |
|---|
| | 1604 | super(c, location, endLocation, AstTag.DivAssignStmt, lhs, rhs); |
|---|
| 1515 | | public this(CompileLoc location, CompileLoc endLocation, Expression lhs, Expression rhs) |
|---|
| 1516 | | { |
|---|
| 1517 | | super(location, endLocation, AstTag.ModAssignStmt, lhs, rhs); |
|---|
| | 1615 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Expression lhs, Expression rhs) |
|---|
| | 1616 | { |
|---|
| | 1617 | super(c, location, endLocation, AstTag.ModAssignStmt, lhs, rhs); |
|---|
| 1528 | | public this(CompileLoc location, CompileLoc endLocation, Expression lhs, Expression rhs) |
|---|
| 1529 | | { |
|---|
| 1530 | | super(location, endLocation, AstTag.OrAssignStmt, lhs, rhs); |
|---|
| | 1628 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Expression lhs, Expression rhs) |
|---|
| | 1629 | { |
|---|
| | 1630 | super(c, location, endLocation, AstTag.OrAssignStmt, lhs, rhs); |
|---|
| 1541 | | public this(CompileLoc location, CompileLoc endLocation, Expression lhs, Expression rhs) |
|---|
| 1542 | | { |
|---|
| 1543 | | super(location, endLocation, AstTag.XorAssignStmt, lhs, rhs); |
|---|
| | 1641 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Expression lhs, Expression rhs) |
|---|
| | 1642 | { |
|---|
| | 1643 | super(c, location, endLocation, AstTag.XorAssignStmt, lhs, rhs); |
|---|
| 1554 | | public this(CompileLoc location, CompileLoc endLocation, Expression lhs, Expression rhs) |
|---|
| 1555 | | { |
|---|
| 1556 | | super(location, endLocation, AstTag.AndAssignStmt, lhs, rhs); |
|---|
| | 1654 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Expression lhs, Expression rhs) |
|---|
| | 1655 | { |
|---|
| | 1656 | super(c, location, endLocation, AstTag.AndAssignStmt, lhs, rhs); |
|---|
| 1567 | | public this(CompileLoc location, CompileLoc endLocation, Expression lhs, Expression rhs) |
|---|
| 1568 | | { |
|---|
| 1569 | | super(location, endLocation, AstTag.ShlAssignStmt, lhs, rhs); |
|---|
| | 1667 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Expression lhs, Expression rhs) |
|---|
| | 1668 | { |
|---|
| | 1669 | super(c, location, endLocation, AstTag.ShlAssignStmt, lhs, rhs); |
|---|
| 1580 | | public this(CompileLoc location, CompileLoc endLocation, Expression lhs, Expression rhs) |
|---|
| 1581 | | { |
|---|
| 1582 | | super(location, endLocation, AstTag.ShrAssignStmt, lhs, rhs); |
|---|
| | 1680 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Expression lhs, Expression rhs) |
|---|
| | 1681 | { |
|---|
| | 1682 | super(c, location, endLocation, AstTag.ShrAssignStmt, lhs, rhs); |
|---|
| 1593 | | public this(CompileLoc location, CompileLoc endLocation, Expression lhs, Expression rhs) |
|---|
| 1594 | | { |
|---|
| 1595 | | super(location, endLocation, AstTag.UShrAssignStmt, lhs, rhs); |
|---|
| | 1693 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Expression lhs, Expression rhs) |
|---|
| | 1694 | { |
|---|
| | 1695 | super(c, location, endLocation, AstTag.UShrAssignStmt, lhs, rhs); |
|---|
| 1606 | | public this(CompileLoc location, CompileLoc endLocation, Expression lhs, Expression rhs) |
|---|
| 1607 | | { |
|---|
| 1608 | | super(location, endLocation, AstTag.CondAssignStmt, lhs, rhs); |
|---|
| | 1706 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Expression lhs, Expression rhs) |
|---|
| | 1707 | { |
|---|
| | 1708 | super(c, location, endLocation, AstTag.CondAssignStmt, lhs, rhs); |
|---|
| 1624 | | public this(CompileLoc location, CompileLoc endLocation, Expression exp) |
|---|
| 1625 | | { |
|---|
| 1626 | | super(location, endLocation, AstTag.IncStmt); |
|---|
| | 1724 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Expression exp) |
|---|
| | 1725 | { |
|---|
| | 1726 | super(c, location, endLocation, AstTag.IncStmt); |
|---|
| 1643 | | public this(CompileLoc location, CompileLoc endLocation, Expression exp) |
|---|
| 1644 | | { |
|---|
| 1645 | | super(location, endLocation, AstTag.DecStmt); |
|---|
| | 1743 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Expression exp) |
|---|
| | 1744 | { |
|---|
| | 1745 | super(c, location, endLocation, AstTag.DecStmt); |
|---|
| 1657 | | public this(CompileLoc location, CompileLoc endLocation, AstTag type) |
|---|
| 1658 | | { |
|---|
| 1659 | | super(location, endLocation, type); |
|---|
| | 1757 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, AstTag type) |
|---|
| | 1758 | { |
|---|
| | 1759 | super(c, location, endLocation, type); |
|---|
| 1852 | | public this(CompileLoc location, CompileLoc endLocation, Expression cond, Expression op1, Expression op2) |
|---|
| 1853 | | { |
|---|
| 1854 | | super(location, endLocation, AstTag.CondExp); |
|---|
| | 1952 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, Expression cond, Expression op1, Expression op2) |
|---|
| | 1953 | { |
|---|
| | 1954 | super(c, location, endLocation, AstTag.CondExp); |
|---|
| 1884 | | public this(CompileLoc location, CompileLoc endLocation, AstTag type, Expression op1, Expression op2) |
|---|
| 1885 | | { |
|---|
| 1886 | | super(location, endLocation, type); |
|---|
| | 1984 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, AstTag type, Expression op1, Expression op2) |
|---|
| | 1985 | { |
|---|
| | 1986 | super(c, location, endLocation, type); |
|---|
| | 2049 | This class serves as a base class for all equality expressions. |
|---|
| | 2050 | */ |
|---|
| | 2051 | abstract class BaseEqualExp : BinaryExp |
|---|
| | 2052 | { |
|---|
| | 2053 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, AstTag type, Expression left, Expression right) |
|---|
| | 2054 | { |
|---|
| | 2055 | super(c, location, endLocation, type, left, right); |
|---|
| | 2056 | } |
|---|
| | 2057 | } |
|---|
| | 2058 | |
|---|
| | 2059 | /** |
|---|
| | 2092 | This class serves as a base class for comparison expressions. |
|---|
| | 2093 | */ |
|---|
| | 2094 | abstract class BaseCmpExp : BinaryExp |
|---|
| | 2095 | { |
|---|
| | 2096 | public this(ICompiler c, CompileLoc location, CompileLoc endLocation, AstTag type, Expression left, Expression right) |
|---|
| | 2097 | { |
|---|
| | 2098 | super(c, location, endLocation, type, left, right); |
|---|
| | 2099 | } |
|---|
| | 2100 | } |
|---|
| | 2101 | |
|---|
| | 2102 | /** |
|---|