Преглед изворни кода

- Moved package zenscript.shared to zencode.shared

- Compiled shared from ZenCode
Stan Hebben пре 6 година
родитељ
комит
dbe4bfd510
100 измењених фајлова са 122 додато и 128 уклоњено
  1. 3
    3
      CodeFormatter/src/main/java/org/openzen/zenscript/formatter/ExpressionFormatter.java
  2. 3
    3
      CodeFormatter/src/main/java/org/openzen/zenscript/formatter/SwitchValueFormatter.java
  3. 2
    2
      CodeFormatter/src/main/java/org/openzen/zenscript/formatter/TypeFormatter.java
  4. 2
    2
      CodeFormatterShared/src/main/java/org/openzen/zenscript/formattershared/FormattingSettings.java
  5. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/FunctionParameter.java
  6. 2
    2
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/HighLevelDefinition.java
  7. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/ScriptBlock.java
  8. 2
    2
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/WhitespaceInfo.java
  9. 2
    2
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/WhitespacePostComment.java
  10. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/annotations/AnnotationDefinition.java
  11. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/annotations/NativeAnnotationDefinition.java
  12. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/annotations/PreconditionAnnotationDefinition.java
  13. 1
    2
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/annotations/PreconditionForMethod.java
  14. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/definition/AliasDefinition.java
  15. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/definition/ClassDefinition.java
  16. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/definition/EnumDefinition.java
  17. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/definition/ExpansionDefinition.java
  18. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/definition/FunctionDefinition.java
  19. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/definition/InterfaceDefinition.java
  20. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/definition/StructDefinition.java
  21. 2
    2
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/definition/VariantDefinition.java
  22. 3
    3
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/definition/ZSPackage.java
  23. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/AndAndExpression.java
  24. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ArrayExpression.java
  25. 3
    3
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/CallArguments.java
  26. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/CallExpression.java
  27. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/CallStaticExpression.java
  28. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/CallTranslator.java
  29. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/CapturedClosureExpression.java
  30. 1
    3
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/CapturedDirectExpression.java
  31. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/CapturedExpression.java
  32. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/CapturedLocalVariableExpression.java
  33. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/CapturedParameterExpression.java
  34. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/CapturedThisExpression.java
  35. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/CastExpression.java
  36. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/CheckNullExpression.java
  37. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/CoalesceExpression.java
  38. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/CompareExpression.java
  39. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConditionalExpression.java
  40. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstExpression.java
  41. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstantBoolExpression.java
  42. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstantByteExpression.java
  43. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstantCharExpression.java
  44. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstantDoubleExpression.java
  45. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstantFloatExpression.java
  46. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstantIntExpression.java
  47. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstantLongExpression.java
  48. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstantSByteExpression.java
  49. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstantShortExpression.java
  50. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstantStringExpression.java
  51. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstantUIntExpression.java
  52. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstantULongExpression.java
  53. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstantUShortExpression.java
  54. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstructorSuperCallExpression.java
  55. 1
    2
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstructorThisCallExpression.java
  56. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/EnumConstantExpression.java
  57. 3
    3
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/Expression.java
  58. 5
    6
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ExpressionBuilder.java
  59. 4
    3
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/FunctionExpression.java
  60. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/GetFieldExpression.java
  61. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/GetFunctionParameterExpression.java
  62. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/GetLocalVariableExpression.java
  63. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/GetStaticFieldExpression.java
  64. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/GetterExpression.java
  65. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/GlobalCallExpression.java
  66. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/GlobalExpression.java
  67. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/InterfaceCastExpression.java
  68. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/IsExpression.java
  69. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/MakeConstExpression.java
  70. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/MapExpression.java
  71. 1
    2
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/MatchExpression.java
  72. 1
    2
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/NewExpression.java
  73. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/NullExpression.java
  74. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/OrOrExpression.java
  75. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/PanicExpression.java
  76. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/PostCallExpression.java
  77. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/RangeExpression.java
  78. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/SameObjectExpression.java
  79. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/SetFieldExpression.java
  80. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/SetFunctionParameterExpression.java
  81. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/SetLocalVariableExpression.java
  82. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/SetStaticFieldExpression.java
  83. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/SetterExpression.java
  84. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/StaticGetterExpression.java
  85. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/StaticSetterExpression.java
  86. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/SupertypeCastExpression.java
  87. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ThisExpression.java
  88. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ThrowExpression.java
  89. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/TryConvertExpression.java
  90. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/TryRethrowAsExceptionExpression.java
  91. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/TryRethrowAsResultExpression.java
  92. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/VariantValueExpression.java
  93. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/WrapOptionalExpression.java
  94. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/generic/ParameterTypeBound.java
  95. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/generic/TypeParameter.java
  96. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/member/CallerMember.java
  97. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/member/CasterMember.java
  98. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/member/ConstMember.java
  99. 1
    1
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/member/ConstructorMember.java
  100. 0
    0
      CodeModel/src/main/java/org/openzen/zenscript/codemodel/member/CustomIteratorMember.java

+ 3
- 3
CodeFormatter/src/main/java/org/openzen/zenscript/formatter/ExpressionFormatter.java Прегледај датотеку

@@ -5,6 +5,7 @@
5 5
  */
6 6
 package org.openzen.zenscript.formatter;
7 7
 
8
+import org.openzen.zencode.shared.StringExpansion;
8 9
 import org.openzen.zenscript.formattershared.ExpressionString;
9 10
 import org.openzen.zenscript.codemodel.OperatorType;
10 11
 import org.openzen.zenscript.codemodel.expression.AndAndExpression;
@@ -75,7 +76,6 @@ import org.openzen.zenscript.codemodel.expression.TryRethrowAsExceptionExpressio
75 76
 import org.openzen.zenscript.codemodel.expression.TryRethrowAsResultExpression;
76 77
 import org.openzen.zenscript.codemodel.expression.VariantValueExpression;
77 78
 import org.openzen.zenscript.codemodel.expression.WrapOptionalExpression;
78
-import org.openzen.zenscript.shared.StringUtils;
79 79
 
80 80
 /**
81 81
  *
@@ -348,7 +348,7 @@ public class ExpressionFormatter implements ExpressionVisitor<ExpressionString>
348 348
 	@Override
349 349
 	public ExpressionString visitConstantChar(ConstantCharExpression expression) {
350 350
 		return new ExpressionString(
351
-				StringUtils.escape(Character.toString(expression.value), '\'', true),
351
+				StringExpansion.escape(Character.toString(expression.value), '\'', true),
352 352
 				ZenScriptOperator.PRIMARY);
353 353
 	}
354 354
 
@@ -384,7 +384,7 @@ public class ExpressionFormatter implements ExpressionVisitor<ExpressionString>
384 384
 
385 385
 	@Override
386 386
 	public ExpressionString visitConstantString(ConstantStringExpression expression) {
387
-		return new ExpressionString(StringUtils.escape(
387
+		return new ExpressionString(StringExpansion.escape(
388 388
 				expression.value,
389 389
 				settings.useSingleQuotesForStrings ? '\'' : '"',
390 390
 				true), ZenScriptOperator.CAST);

+ 3
- 3
CodeFormatter/src/main/java/org/openzen/zenscript/formatter/SwitchValueFormatter.java Прегледај датотеку

@@ -5,13 +5,13 @@
5 5
  */
6 6
 package org.openzen.zenscript.formatter;
7 7
 
8
+import org.openzen.zencode.shared.StringExpansion;
8 9
 import org.openzen.zenscript.codemodel.expression.switchvalue.CharSwitchValue;
9 10
 import org.openzen.zenscript.codemodel.expression.switchvalue.EnumConstantSwitchValue;
10 11
 import org.openzen.zenscript.codemodel.expression.switchvalue.IntSwitchValue;
11 12
 import org.openzen.zenscript.codemodel.expression.switchvalue.StringSwitchValue;
12 13
 import org.openzen.zenscript.codemodel.expression.switchvalue.SwitchValueVisitor;
13 14
 import org.openzen.zenscript.codemodel.expression.switchvalue.VariantOptionSwitchValue;
14
-import org.openzen.zenscript.shared.StringUtils;
15 15
 
16 16
 /**
17 17
  *
@@ -31,12 +31,12 @@ public class SwitchValueFormatter implements SwitchValueVisitor<String> {
31 31
 
32 32
 	@Override
33 33
 	public String acceptChar(CharSwitchValue value) {
34
-		return StringUtils.escape(new String(new char[] { value.value }), '\'', true);
34
+		return StringExpansion.escape(new String(new char[] { value.value }), '\'', true);
35 35
 	}
36 36
 
37 37
 	@Override
38 38
 	public String acceptString(StringSwitchValue value) {
39
-		return StringUtils.escape(value.value, settings.useSingleQuotesForStrings ? '\'' : '"', true);
39
+		return StringExpansion.escape(value.value, settings.useSingleQuotesForStrings ? '\'' : '"', true);
40 40
 	}
41 41
 
42 42
 	@Override

+ 2
- 2
CodeFormatter/src/main/java/org/openzen/zenscript/formatter/TypeFormatter.java Прегледај датотеку

@@ -23,7 +23,7 @@ import org.openzen.zenscript.codemodel.type.ITypeVisitor;
23 23
 import org.openzen.zenscript.codemodel.type.IteratorTypeID;
24 24
 import org.openzen.zenscript.codemodel.type.OptionalTypeID;
25 25
 import org.openzen.zenscript.codemodel.type.RangeTypeID;
26
-import org.openzen.zenscript.shared.StringUtils;
26
+import stdlib.Chars;
27 27
 
28 28
 /**
29 29
  *
@@ -49,7 +49,7 @@ public class TypeFormatter implements ITypeVisitor<String>, GenericParameterBoun
49 49
 		if (array.dimension == 1) {
50 50
 			return element + "[]";
51 51
 		} else {
52
-			return element + "[" + StringUtils.times(',', array.dimension - 1) + "]";
52
+			return element + "[" + Chars.times(',', array.dimension - 1) + "]";
53 53
 		}
54 54
 	}
55 55
 

+ 2
- 2
CodeFormatterShared/src/main/java/org/openzen/zenscript/formattershared/FormattingSettings.java Прегледај датотеку

@@ -5,7 +5,7 @@
5 5
  */
6 6
 package org.openzen.zenscript.formattershared;
7 7
 
8
-import org.openzen.zenscript.shared.StringUtils;
8
+import stdlib.Chars;
9 9
 
10 10
 /**
11 11
  *
@@ -25,7 +25,7 @@ public class FormattingSettings {
25 25
 		if (useTabs) {
26 26
 			indent = "\t";
27 27
 		} else {
28
-			indent = StringUtils.times(' ', spacesPerTab);
28
+			indent = Chars.times(' ', spacesPerTab);
29 29
 		}
30 30
 	}
31 31
 	

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/FunctionParameter.java Прегледај датотеку

@@ -7,9 +7,9 @@ package org.openzen.zenscript.codemodel;
7 7
 
8 8
 import org.openzen.zenscript.codemodel.annotations.Annotation;
9 9
 import java.util.Objects;
10
+import org.openzen.zencode.shared.Taggable;
10 11
 import org.openzen.zenscript.codemodel.expression.Expression;
11 12
 import org.openzen.zenscript.codemodel.type.ITypeID;
12
-import org.openzen.zenscript.shared.Taggable;
13 13
 
14 14
 /**
15 15
  *

+ 2
- 2
CodeModel/src/main/java/org/openzen/zenscript/codemodel/HighLevelDefinition.java Прегледај датотеку

@@ -7,6 +7,8 @@ package org.openzen.zenscript.codemodel;
7 7
 
8 8
 import java.util.ArrayList;
9 9
 import java.util.List;
10
+import org.openzen.zencode.shared.CodePosition;
11
+import org.openzen.zencode.shared.Taggable;
10 12
 import org.openzen.zenscript.codemodel.annotations.DefinitionAnnotation;
11 13
 import org.openzen.zenscript.codemodel.definition.DefinitionVisitor;
12 14
 import org.openzen.zenscript.codemodel.definition.ZSPackage;
@@ -15,8 +17,6 @@ import org.openzen.zenscript.codemodel.member.ConstructorMember;
15 17
 import org.openzen.zenscript.codemodel.member.FieldMember;
16 18
 import org.openzen.zenscript.codemodel.member.IDefinitionMember;
17 19
 import org.openzen.zenscript.codemodel.type.ITypeID;
18
-import org.openzen.zenscript.shared.CodePosition;
19
-import org.openzen.zenscript.shared.Taggable;
20 20
 
21 21
 /**
22 22
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/ScriptBlock.java Прегледај датотеку

@@ -6,8 +6,8 @@
6 6
 package org.openzen.zenscript.codemodel;
7 7
 
8 8
 import java.util.List;
9
+import org.openzen.zencode.shared.Taggable;
9 10
 import org.openzen.zenscript.codemodel.statement.Statement;
10
-import org.openzen.zenscript.shared.Taggable;
11 11
 
12 12
 /**
13 13
  *

+ 2
- 2
CodeModel/src/main/java/org/openzen/zenscript/codemodel/WhitespaceInfo.java Прегледај датотеку

@@ -7,7 +7,7 @@ package org.openzen.zenscript.codemodel;
7 7
 
8 8
 import java.util.ArrayList;
9 9
 import java.util.List;
10
-import org.openzen.zenscript.shared.StringUtils;
10
+import stdlib.Strings;
11 11
 
12 12
 /**
13 13
  *
@@ -20,7 +20,7 @@ public class WhitespaceInfo {
20 20
 			if (c == '\n')
21 21
 				numNewLines++;
22 22
 		
23
-		List<String> split = StringUtils.split(whitespaceBefore, '\n');
23
+		String[] split = Strings.split(whitespaceBefore, '\n');
24 24
 		List<String> commentsBefore = new ArrayList<>();
25 25
 		for (String splitLine : split) {
26 26
 			String trimmed = splitLine.trim();

+ 2
- 2
CodeModel/src/main/java/org/openzen/zenscript/codemodel/WhitespacePostComment.java Прегледај датотеку

@@ -7,7 +7,7 @@ package org.openzen.zenscript.codemodel;
7 7
 
8 8
 import java.util.ArrayList;
9 9
 import java.util.List;
10
-import org.openzen.zenscript.shared.StringUtils;
10
+import stdlib.Strings;
11 11
 
12 12
 /**
13 13
  *
@@ -16,7 +16,7 @@ import org.openzen.zenscript.shared.StringUtils;
16 16
 public class WhitespacePostComment {
17 17
 	public static WhitespacePostComment fromWhitespace(String whitespace) {
18 18
 		List<String> comments = new ArrayList<>();
19
-		for (String line : StringUtils.split(whitespace, '\n')) {
19
+		for (String line : Strings.split(whitespace, '\n')) {
20 20
 			line = line.trim();
21 21
 			if (line.isEmpty())
22 22
 				continue;

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/annotations/AnnotationDefinition.java Прегледај датотеку

@@ -6,6 +6,7 @@
6 6
 package org.openzen.zenscript.codemodel.annotations;
7 7
 
8 8
 import java.util.List;
9
+import org.openzen.zencode.shared.CodePosition;
9 10
 import org.openzen.zenscript.codemodel.FunctionHeader;
10 11
 import org.openzen.zenscript.codemodel.FunctionParameter;
11 12
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
@@ -15,7 +16,6 @@ import org.openzen.zenscript.codemodel.scope.BaseScope;
15 16
 import org.openzen.zenscript.codemodel.scope.ExpressionScope;
16 17
 import org.openzen.zenscript.codemodel.scope.StatementScope;
17 18
 import org.openzen.zenscript.codemodel.statement.Statement;
18
-import org.openzen.zenscript.shared.CodePosition;
19 19
 
20 20
 /**
21 21
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/annotations/NativeAnnotationDefinition.java Прегледај датотеку

@@ -7,6 +7,7 @@ package org.openzen.zenscript.codemodel.annotations;
7 7
 
8 8
 import java.util.Collections;
9 9
 import java.util.List;
10
+import org.openzen.zencode.shared.CodePosition;
10 11
 import org.openzen.zenscript.codemodel.FunctionHeader;
11 12
 import org.openzen.zenscript.codemodel.FunctionParameter;
12 13
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
@@ -18,7 +19,6 @@ import org.openzen.zenscript.codemodel.scope.ExpressionScope;
18 19
 import org.openzen.zenscript.codemodel.scope.StatementScope;
19 20
 import org.openzen.zenscript.codemodel.statement.Statement;
20 21
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
21
-import org.openzen.zenscript.shared.CodePosition;
22 22
 
23 23
 /**
24 24
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/annotations/PreconditionAnnotationDefinition.java Прегледај датотеку

@@ -8,6 +8,7 @@ package org.openzen.zenscript.codemodel.annotations;
8 8
 import java.util.Arrays;
9 9
 import java.util.Collections;
10 10
 import java.util.List;
11
+import org.openzen.zencode.shared.CodePosition;
11 12
 import org.openzen.zenscript.codemodel.FunctionHeader;
12 13
 import org.openzen.zenscript.codemodel.FunctionParameter;
13 14
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
@@ -23,7 +24,6 @@ import org.openzen.zenscript.codemodel.scope.StatementScope;
23 24
 import org.openzen.zenscript.codemodel.statement.Statement;
24 25
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
25 26
 import org.openzen.zenscript.codemodel.type.GenericName;
26
-import org.openzen.zenscript.shared.CodePosition;
27 27
 
28 28
 /**
29 29
  *

+ 1
- 2
CodeModel/src/main/java/org/openzen/zenscript/codemodel/annotations/PreconditionForMethod.java Прегледај датотеку

@@ -7,7 +7,7 @@ package org.openzen.zenscript.codemodel.annotations;
7 7
 
8 8
 import java.util.ArrayList;
9 9
 import java.util.List;
10
-import org.openzen.zenscript.codemodel.expression.ConstantStringExpression;
10
+import org.openzen.zencode.shared.CodePosition;
11 11
 import org.openzen.zenscript.codemodel.expression.Expression;
12 12
 import org.openzen.zenscript.codemodel.expression.ExpressionBuilder;
13 13
 import org.openzen.zenscript.codemodel.expression.PanicExpression;
@@ -20,7 +20,6 @@ import org.openzen.zenscript.codemodel.statement.ExpressionStatement;
20 20
 import org.openzen.zenscript.codemodel.statement.IfStatement;
21 21
 import org.openzen.zenscript.codemodel.statement.Statement;
22 22
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
23
-import org.openzen.zenscript.shared.CodePosition;
24 23
 
25 24
 /**
26 25
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/definition/AliasDefinition.java Прегледај датотеку

@@ -5,9 +5,9 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.definition;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
9 10
 import org.openzen.zenscript.codemodel.type.ITypeID;
10
-import org.openzen.zenscript.shared.CodePosition;
11 11
 
12 12
 /**
13 13
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/definition/ClassDefinition.java Прегледај датотеку

@@ -5,9 +5,9 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.definition;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
9 10
 import org.openzen.zenscript.codemodel.type.ITypeID;
10
-import org.openzen.zenscript.shared.CodePosition;
11 11
 
12 12
 /**
13 13
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/definition/EnumDefinition.java Прегледај датотеку

@@ -7,9 +7,9 @@ package org.openzen.zenscript.codemodel.definition;
7 7
 
8 8
 import java.util.ArrayList;
9 9
 import java.util.List;
10
+import org.openzen.zencode.shared.CodePosition;
10 11
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
11 12
 import org.openzen.zenscript.codemodel.member.EnumConstantMember;
12
-import org.openzen.zenscript.shared.CodePosition;
13 13
 
14 14
 /**
15 15
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/definition/ExpansionDefinition.java Прегледај датотеку

@@ -5,9 +5,9 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.definition;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
9 10
 import org.openzen.zenscript.codemodel.type.ITypeID;
10
-import org.openzen.zenscript.shared.CodePosition;
11 11
 
12 12
 /**
13 13
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/definition/FunctionDefinition.java Прегледај датотеку

@@ -5,6 +5,7 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.definition;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.FunctionHeader;
9 10
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
10 11
 import org.openzen.zenscript.codemodel.Modifiers;
@@ -13,7 +14,6 @@ import org.openzen.zenscript.codemodel.member.ref.FunctionalMemberRef;
13 14
 import org.openzen.zenscript.codemodel.statement.Statement;
14 15
 import org.openzen.zenscript.codemodel.type.member.DefinitionMemberGroup;
15 16
 import org.openzen.zenscript.codemodel.type.member.TypeMemberPriority;
16
-import org.openzen.zenscript.shared.CodePosition;
17 17
 
18 18
 /**
19 19
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/definition/InterfaceDefinition.java Прегледај датотеку

@@ -7,9 +7,9 @@ package org.openzen.zenscript.codemodel.definition;
7 7
 
8 8
 import java.util.ArrayList;
9 9
 import java.util.List;
10
+import org.openzen.zencode.shared.CodePosition;
10 11
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
11 12
 import org.openzen.zenscript.codemodel.type.ITypeID;
12
-import org.openzen.zenscript.shared.CodePosition;
13 13
 
14 14
 /**
15 15
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/definition/StructDefinition.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.definition;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 2
- 2
CodeModel/src/main/java/org/openzen/zenscript/codemodel/definition/VariantDefinition.java Прегледај датотеку

@@ -7,12 +7,12 @@ package org.openzen.zenscript.codemodel.definition;
7 7
 
8 8
 import java.util.ArrayList;
9 9
 import java.util.List;
10
+import org.openzen.zencode.shared.CodePosition;
11
+import org.openzen.zencode.shared.Taggable;
10 12
 import org.openzen.zenscript.codemodel.GenericMapper;
11 13
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
12 14
 import org.openzen.zenscript.codemodel.member.ref.VariantOptionRef;
13 15
 import org.openzen.zenscript.codemodel.type.ITypeID;
14
-import org.openzen.zenscript.shared.CodePosition;
15
-import org.openzen.zenscript.shared.Taggable;
16 16
 
17 17
 /**
18 18
  *

+ 3
- 3
CodeModel/src/main/java/org/openzen/zenscript/codemodel/definition/ZSPackage.java Прегледај датотеку

@@ -8,8 +8,9 @@ package org.openzen.zenscript.codemodel.definition;
8 8
 import java.util.HashMap;
9 9
 import java.util.List;
10 10
 import java.util.Map;
11
-import org.openzen.zenscript.shared.CompileException;
12
-import org.openzen.zenscript.shared.CompileExceptionCode;
11
+import org.openzen.zencode.shared.CodePosition;
12
+import org.openzen.zencode.shared.CompileException;
13
+import org.openzen.zencode.shared.CompileExceptionCode;
13 14
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
14 15
 import org.openzen.zenscript.codemodel.partial.IPartialExpression;
15 16
 import org.openzen.zenscript.codemodel.partial.PartialPackageExpression;
@@ -17,7 +18,6 @@ import org.openzen.zenscript.codemodel.partial.PartialTypeExpression;
17 18
 import org.openzen.zenscript.codemodel.type.GenericName;
18 19
 import org.openzen.zenscript.codemodel.type.GlobalTypeRegistry;
19 20
 import org.openzen.zenscript.codemodel.type.ITypeID;
20
-import org.openzen.zenscript.shared.CodePosition;
21 21
 import org.openzen.zenscript.codemodel.scope.TypeScope;
22 22
 
23 23
 /**

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/AndAndExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ArrayExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.ArrayTypeID;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 3
- 3
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/CallArguments.java Прегледај датотеку

@@ -6,12 +6,12 @@
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8 8
 import java.util.Arrays;
9
+import org.openzen.zencode.shared.CodePosition;
10
+import org.openzen.zencode.shared.CompileException;
11
+import org.openzen.zencode.shared.CompileExceptionCode;
9 12
 import org.openzen.zenscript.codemodel.FunctionHeader;
10 13
 import org.openzen.zenscript.codemodel.scope.TypeScope;
11 14
 import org.openzen.zenscript.codemodel.type.ITypeID;
12
-import org.openzen.zenscript.shared.CodePosition;
13
-import org.openzen.zenscript.shared.CompileException;
14
-import org.openzen.zenscript.shared.CompileExceptionCode;
15 15
 
16 16
 /**
17 17
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/CallExpression.java Прегледај датотеку

@@ -5,10 +5,10 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.FunctionHeader;
9 10
 import org.openzen.zenscript.codemodel.member.ref.FunctionalMemberRef;
10 11
 import org.openzen.zenscript.codemodel.scope.TypeScope;
11
-import org.openzen.zenscript.shared.CodePosition;
12 12
 
13 13
 /**
14 14
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/CallStaticExpression.java Прегледај датотеку

@@ -5,11 +5,11 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.FunctionHeader;
9 10
 import org.openzen.zenscript.codemodel.member.ref.FunctionalMemberRef;
10 11
 import org.openzen.zenscript.codemodel.scope.TypeScope;
11 12
 import org.openzen.zenscript.codemodel.type.ITypeID;
12
-import org.openzen.zenscript.shared.CodePosition;
13 13
 
14 14
 /**
15 15
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/CallTranslator.java Прегледај датотеку

@@ -5,9 +5,9 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.FunctionHeader;
9 10
 import org.openzen.zenscript.codemodel.scope.TypeScope;
10
-import org.openzen.zenscript.shared.CodePosition;
11 11
 
12 12
 /**
13 13
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/CapturedClosureExpression.java Прегледај датотеку

@@ -5,7 +5,7 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
-import org.openzen.zenscript.shared.CodePosition;
8
+import org.openzen.zencode.shared.CodePosition;
9 9
 
10 10
 /**
11 11
  *

+ 1
- 3
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/CapturedDirectExpression.java Прегледај датотеку

@@ -5,9 +5,7 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
-import java.util.Map;
9
-import org.openzen.zenscript.codemodel.FunctionParameter;
10
-import org.openzen.zenscript.shared.CodePosition;
8
+import org.openzen.zencode.shared.CodePosition;
11 9
 
12 10
 /**
13 11
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/CapturedExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.ITypeID;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/CapturedLocalVariableExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.statement.VarStatement;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/CapturedParameterExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.FunctionParameter;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/CapturedThisExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.ITypeID;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/CastExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.member.ref.CasterMemberRef;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/CheckNullExpression.java Прегледај датотеку

@@ -5,7 +5,7 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
-import org.openzen.zenscript.shared.CodePosition;
8
+import org.openzen.zencode.shared.CodePosition;
9 9
 
10 10
 /**
11 11
  * Converts a value from X? to X. Throws a NullPointerException if the value is null.

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/CoalesceExpression.java Прегледај датотеку

@@ -5,7 +5,7 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
-import org.openzen.zenscript.shared.CodePosition;
8
+import org.openzen.zencode.shared.CodePosition;
9 9
 
10 10
 /**
11 11
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/CompareExpression.java Прегледај датотеку

@@ -5,11 +5,11 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.CompareType;
9 10
 import org.openzen.zenscript.codemodel.member.ref.FunctionalMemberRef;
10 11
 import org.openzen.zenscript.codemodel.scope.TypeScope;
11 12
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
12
-import org.openzen.zenscript.shared.CodePosition;
13 13
 
14 14
 /**
15 15
  * Compare expression for basic types. Left and right MUST be of the same type,

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConditionalExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.ITypeID;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstExpression.java Прегледај датотеку

@@ -5,9 +5,9 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.member.EnumConstantMember;
9 10
 import org.openzen.zenscript.codemodel.member.ref.ConstMemberRef;
10
-import org.openzen.zenscript.shared.CodePosition;
11 11
 
12 12
 /**
13 13
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstantBoolExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstantByteExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstantCharExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstantDoubleExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstantFloatExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstantIntExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstantLongExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstantSByteExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstantShortExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstantStringExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstantUIntExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstantULongExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstantUShortExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstructorSuperCallExpression.java Прегледај датотеку

@@ -5,11 +5,11 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.member.ref.FunctionalMemberRef;
9 10
 import org.openzen.zenscript.codemodel.scope.TypeScope;
10 11
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
11 12
 import org.openzen.zenscript.codemodel.type.ITypeID;
12
-import org.openzen.zenscript.shared.CodePosition;
13 13
 
14 14
 /**
15 15
  *

+ 1
- 2
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ConstructorThisCallExpression.java Прегледај датотеку

@@ -5,12 +5,11 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
-import org.openzen.zenscript.codemodel.member.ConstructorMember;
8
+import org.openzen.zencode.shared.CodePosition;
9 9
 import org.openzen.zenscript.codemodel.member.ref.FunctionalMemberRef;
10 10
 import org.openzen.zenscript.codemodel.scope.TypeScope;
11 11
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
12 12
 import org.openzen.zenscript.codemodel.type.ITypeID;
13
-import org.openzen.zenscript.shared.CodePosition;
14 13
 
15 14
 /**
16 15
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/EnumConstantExpression.java Прегледај датотеку

@@ -5,11 +5,11 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.definition.EnumDefinition;
9 10
 import org.openzen.zenscript.codemodel.member.EnumConstantMember;
10 11
 import org.openzen.zenscript.codemodel.type.GlobalTypeRegistry;
11 12
 import org.openzen.zenscript.codemodel.type.ITypeID;
12
-import org.openzen.zenscript.shared.CodePosition;
13 13
 
14 14
 /**
15 15
  *

+ 3
- 3
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/Expression.java Прегледај датотеку

@@ -9,6 +9,9 @@ import java.util.Collections;
9 9
 import java.util.List;
10 10
 import java.util.function.Consumer;
11 11
 import java.util.stream.Collectors;
12
+import org.openzen.zencode.shared.CodePosition;
13
+import org.openzen.zencode.shared.CompileException;
14
+import org.openzen.zencode.shared.CompileExceptionCode;
12 15
 import org.openzen.zenscript.codemodel.FunctionHeader;
13 16
 import org.openzen.zenscript.codemodel.OperatorType;
14 17
 import org.openzen.zenscript.codemodel.member.EnumConstantMember;
@@ -16,13 +19,10 @@ import org.openzen.zenscript.codemodel.partial.IPartialExpression;
16 19
 import org.openzen.zenscript.codemodel.type.GenericName;
17 20
 import org.openzen.zenscript.codemodel.type.ITypeID;
18 21
 import org.openzen.zenscript.codemodel.type.member.TypeMembers;
19
-import org.openzen.zenscript.shared.CodePosition;
20 22
 import org.openzen.zenscript.codemodel.scope.TypeScope;
21 23
 import org.openzen.zenscript.codemodel.statement.Statement;
22 24
 import org.openzen.zenscript.codemodel.statement.StatementTransformer;
23 25
 import org.openzen.zenscript.codemodel.type.FunctionTypeID;
24
-import org.openzen.zenscript.shared.CompileException;
25
-import org.openzen.zenscript.shared.CompileExceptionCode;
26 26
 
27 27
 /**
28 28
  *

+ 5
- 6
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ExpressionBuilder.java Прегледај датотеку

@@ -7,18 +7,17 @@ package org.openzen.zenscript.codemodel.expression;
7 7
 
8 8
 import java.util.ArrayList;
9 9
 import java.util.List;
10
+import org.openzen.zencode.shared.CodePosition;
11
+import org.openzen.zencode.shared.CompileException;
12
+import org.openzen.zencode.shared.CompileExceptionCode;
10 13
 import org.openzen.zenscript.codemodel.OperatorType;
11
-import org.openzen.zenscript.codemodel.member.ConstructorMember;
12 14
 import org.openzen.zenscript.codemodel.member.ref.FunctionalMemberRef;
13 15
 import org.openzen.zenscript.codemodel.scope.ExpressionScope;
14 16
 import org.openzen.zenscript.codemodel.type.GenericName;
15 17
 import org.openzen.zenscript.codemodel.type.ITypeID;
16 18
 import org.openzen.zenscript.codemodel.type.member.DefinitionMemberGroup;
17 19
 import org.openzen.zenscript.codemodel.type.member.TypeMembers;
18
-import org.openzen.zenscript.shared.CodePosition;
19
-import org.openzen.zenscript.shared.CompileException;
20
-import org.openzen.zenscript.shared.CompileExceptionCode;
21
-import org.openzen.zenscript.shared.StringUtils;
20
+import stdlib.Strings;
22 21
 
23 22
 /**
24 23
  *
@@ -34,7 +33,7 @@ public class ExpressionBuilder {
34 33
 	}
35 34
 	
36 35
 	public Expression constructNew(String typename, Expression... arguments) {
37
-		List<String> nameParts = StringUtils.split(typename, '.');
36
+		String[] nameParts = Strings.split(typename, '.');
38 37
 		List<GenericName> name = new ArrayList<>();
39 38
 		for (String namePart : nameParts)
40 39
 			name.add(new GenericName(namePart));

+ 4
- 3
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/FunctionExpression.java Прегледај датотеку

@@ -8,14 +8,15 @@ package org.openzen.zenscript.codemodel.expression;
8 8
 import java.util.HashMap;
9 9
 import java.util.Map;
10 10
 import java.util.function.Consumer;
11
+import org.openzen.zencode.shared.CodePosition;
12
+import org.openzen.zencode.shared.ConcatMap;
11 13
 import org.openzen.zenscript.codemodel.FunctionHeader;
12 14
 import org.openzen.zenscript.codemodel.FunctionParameter;
13 15
 import org.openzen.zenscript.codemodel.statement.ExpressionStatement;
16
+import org.openzen.zenscript.codemodel.statement.LoopStatement;
14 17
 import org.openzen.zenscript.codemodel.statement.ReturnStatement;
15 18
 import org.openzen.zenscript.codemodel.statement.Statement;
16 19
 import org.openzen.zenscript.codemodel.type.FunctionTypeID;
17
-import org.openzen.zenscript.shared.CodePosition;
18
-import org.openzen.zenscript.shared.ConcatMap;
19 20
 
20 21
 /**
21 22
  *
@@ -45,7 +46,7 @@ public class FunctionExpression extends Expression {
45 46
 
46 47
 	@Override
47 48
 	public FunctionExpression transform(ExpressionTransformer transformer) {
48
-		Statement tBody = body.transform(transformer, ConcatMap.empty());
49
+		Statement tBody = body.transform(transformer, ConcatMap.empty(LoopStatement.class, LoopStatement.class));
49 50
 		return tBody == body ? this : new FunctionExpression(position, (FunctionTypeID)type, closure, tBody);
50 51
 	}
51 52
 	

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/GetFieldExpression.java Прегледај датотеку

@@ -7,10 +7,10 @@ package org.openzen.zenscript.codemodel.expression;
7 7
 
8 8
 import java.util.Collections;
9 9
 import java.util.List;
10
+import org.openzen.zencode.shared.CodePosition;
10 11
 import org.openzen.zenscript.codemodel.member.ref.FieldMemberRef;
11 12
 import org.openzen.zenscript.codemodel.scope.TypeScope;
12 13
 import org.openzen.zenscript.codemodel.type.ITypeID;
13
-import org.openzen.zenscript.shared.CodePosition;
14 14
 
15 15
 /**
16 16
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/GetFunctionParameterExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.FunctionParameter;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 import org.openzen.zenscript.codemodel.scope.TypeScope;
11 11
 
12 12
 /**

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/GetLocalVariableExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.statement.VarStatement;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 import org.openzen.zenscript.codemodel.scope.TypeScope;
11 11
 
12 12
 /**

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/GetStaticFieldExpression.java Прегледај датотеку

@@ -7,9 +7,9 @@ package org.openzen.zenscript.codemodel.expression;
7 7
 
8 8
 import java.util.Collections;
9 9
 import java.util.List;
10
+import org.openzen.zencode.shared.CodePosition;
10 11
 import org.openzen.zenscript.codemodel.member.ref.FieldMemberRef;
11 12
 import org.openzen.zenscript.codemodel.type.ITypeID;
12
-import org.openzen.zenscript.shared.CodePosition;
13 13
 
14 14
 /**
15 15
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/GetterExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.member.ref.GetterMemberRef;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/GlobalCallExpression.java Прегледај датотеку

@@ -5,7 +5,7 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
-import org.openzen.zenscript.shared.CodePosition;
8
+import org.openzen.zencode.shared.CodePosition;
9 9
 
10 10
 /**
11 11
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/GlobalExpression.java Прегледај датотеку

@@ -5,7 +5,7 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
-import org.openzen.zenscript.shared.CodePosition;
8
+import org.openzen.zencode.shared.CodePosition;
9 9
 
10 10
 /**
11 11
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/InterfaceCastExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.ITypeID;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/IsExpression.java Прегледај датотеку

@@ -5,9 +5,9 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
9 10
 import org.openzen.zenscript.codemodel.type.ITypeID;
10
-import org.openzen.zenscript.shared.CodePosition;
11 11
 
12 12
 /**
13 13
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/MakeConstExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.ITypeID;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/MapExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.ITypeID;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 2
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/MatchExpression.java Прегледај датотеку

@@ -6,9 +6,9 @@
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8 8
 import java.util.ArrayList;
9
-import java.util.Arrays;
10 9
 import java.util.Collections;
11 10
 import java.util.List;
11
+import org.openzen.zencode.shared.CodePosition;
12 12
 import org.openzen.zenscript.codemodel.expression.switchvalue.SwitchValue;
13 13
 import org.openzen.zenscript.codemodel.statement.BreakStatement;
14 14
 import org.openzen.zenscript.codemodel.statement.ExpressionStatement;
@@ -18,7 +18,6 @@ import org.openzen.zenscript.codemodel.statement.SwitchStatement;
18 18
 import org.openzen.zenscript.codemodel.statement.VarStatement;
19 19
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
20 20
 import org.openzen.zenscript.codemodel.type.ITypeID;
21
-import org.openzen.zenscript.shared.CodePosition;
22 21
 
23 22
 /**
24 23
  *

+ 1
- 2
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/NewExpression.java Прегледај датотеку

@@ -5,12 +5,11 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.FunctionHeader;
9
-import org.openzen.zenscript.codemodel.member.ConstructorMember;
10 10
 import org.openzen.zenscript.codemodel.member.ref.FunctionalMemberRef;
11 11
 import org.openzen.zenscript.codemodel.scope.TypeScope;
12 12
 import org.openzen.zenscript.codemodel.type.ITypeID;
13
-import org.openzen.zenscript.shared.CodePosition;
14 13
 
15 14
 /**
16 15
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/NullExpression.java Прегледај датотеку

@@ -5,9 +5,9 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
9 10
 import org.openzen.zenscript.codemodel.type.ITypeID;
10
-import org.openzen.zenscript.shared.CodePosition;
11 11
 
12 12
 /**
13 13
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/OrOrExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/PanicExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.ITypeID;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/PostCallExpression.java Прегледај датотеку

@@ -5,10 +5,10 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.FunctionHeader;
9 10
 import org.openzen.zenscript.codemodel.OperatorType;
10 11
 import org.openzen.zenscript.codemodel.member.ref.FunctionalMemberRef;
11
-import org.openzen.zenscript.shared.CodePosition;
12 12
 
13 13
 /**
14 14
  * Used for post-increment and post-decrement.

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/RangeExpression.java Прегледај датотеку

@@ -5,9 +5,9 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.GlobalTypeRegistry;
9 10
 import org.openzen.zenscript.codemodel.type.ITypeID;
10
-import org.openzen.zenscript.shared.CodePosition;
11 11
 
12 12
 /**
13 13
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/SameObjectExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/SetFieldExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.member.ref.FieldMemberRef;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/SetFunctionParameterExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.FunctionParameter;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/SetLocalVariableExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.statement.VarStatement;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/SetStaticFieldExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.member.ref.FieldMemberRef;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/SetterExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.member.ref.SetterMemberRef;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/StaticGetterExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.member.ref.GetterMemberRef;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/StaticSetterExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.member.ref.SetterMemberRef;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/SupertypeCastExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.ITypeID;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  * Using to cast a class type to a base type.

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ThisExpression.java Прегледај датотеку

@@ -5,9 +5,9 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.partial.IPartialExpression;
9 10
 import org.openzen.zenscript.codemodel.type.ITypeID;
10
-import org.openzen.zenscript.shared.CodePosition;
11 11
 
12 12
 /**
13 13
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ThrowExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.ITypeID;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/TryConvertExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.ITypeID;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/TryRethrowAsExceptionExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.ITypeID;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/TryRethrowAsResultExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.ITypeID;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/VariantValueExpression.java Прегледај датотеку

@@ -6,10 +6,10 @@
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8 8
 import java.util.List;
9
+import org.openzen.zencode.shared.CodePosition;
9 10
 import org.openzen.zenscript.codemodel.member.ref.VariantOptionRef;
10 11
 import org.openzen.zenscript.codemodel.scope.TypeScope;
11 12
 import org.openzen.zenscript.codemodel.type.ITypeID;
12
-import org.openzen.zenscript.shared.CodePosition;
13 13
 
14 14
 /**
15 15
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/WrapOptionalExpression.java Прегледај датотеку

@@ -5,8 +5,8 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.expression;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.type.ITypeID;
9
-import org.openzen.zenscript.shared.CodePosition;
10 10
 
11 11
 /**
12 12
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/generic/ParameterTypeBound.java Прегледај датотеку

@@ -5,12 +5,12 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.generic;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.GenericMapper;
9 10
 import org.openzen.zenscript.codemodel.type.member.TypeMembers;
10 11
 import org.openzen.zenscript.codemodel.type.ITypeID;
11 12
 import org.openzen.zenscript.codemodel.type.member.LocalMemberCache;
12 13
 import org.openzen.zenscript.codemodel.type.member.TypeMemberPriority;
13
-import org.openzen.zenscript.shared.CodePosition;
14 14
 
15 15
 /**
16 16
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/generic/TypeParameter.java Прегледај датотеку

@@ -8,10 +8,10 @@ package org.openzen.zenscript.codemodel.generic;
8 8
 import java.util.ArrayList;
9 9
 import java.util.List;
10 10
 import java.util.Map;
11
+import org.openzen.zencode.shared.CodePosition;
11 12
 import org.openzen.zenscript.codemodel.type.GlobalTypeRegistry;
12 13
 import org.openzen.zenscript.codemodel.type.ITypeID;
13 14
 import org.openzen.zenscript.codemodel.type.member.LocalMemberCache;
14
-import org.openzen.zenscript.shared.CodePosition;
15 15
 
16 16
 /**
17 17
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/member/CallerMember.java Прегледај датотеку

@@ -5,13 +5,13 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.member;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.FunctionHeader;
9 10
 import org.openzen.zenscript.codemodel.GenericMapper;
10 11
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
11 12
 import org.openzen.zenscript.codemodel.type.member.BuiltinID;
12 13
 import org.openzen.zenscript.codemodel.type.member.TypeMemberPriority;
13 14
 import org.openzen.zenscript.codemodel.type.member.TypeMembers;
14
-import org.openzen.zenscript.shared.CodePosition;
15 15
 
16 16
 /**
17 17
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/member/CasterMember.java Прегледај датотеку

@@ -5,6 +5,7 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.member;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.FunctionHeader;
9 10
 import org.openzen.zenscript.codemodel.GenericMapper;
10 11
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
@@ -14,7 +15,6 @@ import org.openzen.zenscript.codemodel.type.member.TypeMembers;
14 15
 import org.openzen.zenscript.codemodel.type.ITypeID;
15 16
 import org.openzen.zenscript.codemodel.type.member.BuiltinID;
16 17
 import org.openzen.zenscript.codemodel.type.member.TypeMemberPriority;
17
-import org.openzen.zenscript.shared.CodePosition;
18 18
 
19 19
 /**
20 20
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/member/ConstMember.java Прегледај датотеку

@@ -5,6 +5,7 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.member;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.GenericMapper;
9 10
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
10 11
 import org.openzen.zenscript.codemodel.expression.Expression;
@@ -13,7 +14,6 @@ import org.openzen.zenscript.codemodel.type.ITypeID;
13 14
 import org.openzen.zenscript.codemodel.type.member.BuiltinID;
14 15
 import org.openzen.zenscript.codemodel.type.member.TypeMemberPriority;
15 16
 import org.openzen.zenscript.codemodel.type.member.TypeMembers;
16
-import org.openzen.zenscript.shared.CodePosition;
17 17
 
18 18
 /**
19 19
  *

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/member/ConstructorMember.java Прегледај датотеку

@@ -5,6 +5,7 @@
5 5
  */
6 6
 package org.openzen.zenscript.codemodel.member;
7 7
 
8
+import org.openzen.zencode.shared.CodePosition;
8 9
 import org.openzen.zenscript.codemodel.FunctionHeader;
9 10
 import org.openzen.zenscript.codemodel.GenericMapper;
10 11
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
@@ -16,7 +17,6 @@ import org.openzen.zenscript.codemodel.type.BasicTypeID;
16 17
 import org.openzen.zenscript.codemodel.type.member.BuiltinID;
17 18
 import org.openzen.zenscript.codemodel.type.member.TypeMemberPriority;
18 19
 import org.openzen.zenscript.codemodel.type.member.TypeMembers;
19
-import org.openzen.zenscript.shared.CodePosition;
20 20
 
21 21
 /**
22 22
  *

+ 0
- 0
CodeModel/src/main/java/org/openzen/zenscript/codemodel/member/CustomIteratorMember.java Прегледај датотеку


Неке датотеке нису приказане због велике количине промена

Loading…
Откажи
Сачувај