Browse Source

- Moved package zenscript.shared to zencode.shared

- Compiled shared from ZenCode
Stan Hebben 6 years ago
parent
commit
dbe4bfd510
100 changed files with 122 additions and 128 deletions
  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 View File

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

+ 3
- 3
CodeFormatter/src/main/java/org/openzen/zenscript/formatter/SwitchValueFormatter.java View File

5
  */
5
  */
6
 package org.openzen.zenscript.formatter;
6
 package org.openzen.zenscript.formatter;
7
 
7
 
8
+import org.openzen.zencode.shared.StringExpansion;
8
 import org.openzen.zenscript.codemodel.expression.switchvalue.CharSwitchValue;
9
 import org.openzen.zenscript.codemodel.expression.switchvalue.CharSwitchValue;
9
 import org.openzen.zenscript.codemodel.expression.switchvalue.EnumConstantSwitchValue;
10
 import org.openzen.zenscript.codemodel.expression.switchvalue.EnumConstantSwitchValue;
10
 import org.openzen.zenscript.codemodel.expression.switchvalue.IntSwitchValue;
11
 import org.openzen.zenscript.codemodel.expression.switchvalue.IntSwitchValue;
11
 import org.openzen.zenscript.codemodel.expression.switchvalue.StringSwitchValue;
12
 import org.openzen.zenscript.codemodel.expression.switchvalue.StringSwitchValue;
12
 import org.openzen.zenscript.codemodel.expression.switchvalue.SwitchValueVisitor;
13
 import org.openzen.zenscript.codemodel.expression.switchvalue.SwitchValueVisitor;
13
 import org.openzen.zenscript.codemodel.expression.switchvalue.VariantOptionSwitchValue;
14
 import org.openzen.zenscript.codemodel.expression.switchvalue.VariantOptionSwitchValue;
14
-import org.openzen.zenscript.shared.StringUtils;
15
 
15
 
16
 /**
16
 /**
17
  *
17
  *
31
 
31
 
32
 	@Override
32
 	@Override
33
 	public String acceptChar(CharSwitchValue value) {
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
 	@Override
37
 	@Override
38
 	public String acceptString(StringSwitchValue value) {
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
 	@Override
42
 	@Override

+ 2
- 2
CodeFormatter/src/main/java/org/openzen/zenscript/formatter/TypeFormatter.java View File

23
 import org.openzen.zenscript.codemodel.type.IteratorTypeID;
23
 import org.openzen.zenscript.codemodel.type.IteratorTypeID;
24
 import org.openzen.zenscript.codemodel.type.OptionalTypeID;
24
 import org.openzen.zenscript.codemodel.type.OptionalTypeID;
25
 import org.openzen.zenscript.codemodel.type.RangeTypeID;
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
 		if (array.dimension == 1) {
49
 		if (array.dimension == 1) {
50
 			return element + "[]";
50
 			return element + "[]";
51
 		} else {
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.formattershared;
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
 		if (useTabs) {
25
 		if (useTabs) {
26
 			indent = "\t";
26
 			indent = "\t";
27
 		} else {
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 View File

7
 
7
 
8
 import org.openzen.zenscript.codemodel.annotations.Annotation;
8
 import org.openzen.zenscript.codemodel.annotations.Annotation;
9
 import java.util.Objects;
9
 import java.util.Objects;
10
+import org.openzen.zencode.shared.Taggable;
10
 import org.openzen.zenscript.codemodel.expression.Expression;
11
 import org.openzen.zenscript.codemodel.expression.Expression;
11
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

7
 
7
 
8
 import java.util.ArrayList;
8
 import java.util.ArrayList;
9
 import java.util.List;
9
 import java.util.List;
10
+import org.openzen.zencode.shared.CodePosition;
11
+import org.openzen.zencode.shared.Taggable;
10
 import org.openzen.zenscript.codemodel.annotations.DefinitionAnnotation;
12
 import org.openzen.zenscript.codemodel.annotations.DefinitionAnnotation;
11
 import org.openzen.zenscript.codemodel.definition.DefinitionVisitor;
13
 import org.openzen.zenscript.codemodel.definition.DefinitionVisitor;
12
 import org.openzen.zenscript.codemodel.definition.ZSPackage;
14
 import org.openzen.zenscript.codemodel.definition.ZSPackage;
15
 import org.openzen.zenscript.codemodel.member.FieldMember;
17
 import org.openzen.zenscript.codemodel.member.FieldMember;
16
 import org.openzen.zenscript.codemodel.member.IDefinitionMember;
18
 import org.openzen.zenscript.codemodel.member.IDefinitionMember;
17
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

6
 package org.openzen.zenscript.codemodel;
6
 package org.openzen.zenscript.codemodel;
7
 
7
 
8
 import java.util.List;
8
 import java.util.List;
9
+import org.openzen.zencode.shared.Taggable;
9
 import org.openzen.zenscript.codemodel.statement.Statement;
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 View File

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

+ 2
- 2
CodeModel/src/main/java/org/openzen/zenscript/codemodel/WhitespacePostComment.java View File

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

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/annotations/AnnotationDefinition.java View File

6
 package org.openzen.zenscript.codemodel.annotations;
6
 package org.openzen.zenscript.codemodel.annotations;
7
 
7
 
8
 import java.util.List;
8
 import java.util.List;
9
+import org.openzen.zencode.shared.CodePosition;
9
 import org.openzen.zenscript.codemodel.FunctionHeader;
10
 import org.openzen.zenscript.codemodel.FunctionHeader;
10
 import org.openzen.zenscript.codemodel.FunctionParameter;
11
 import org.openzen.zenscript.codemodel.FunctionParameter;
11
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
12
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
15
 import org.openzen.zenscript.codemodel.scope.ExpressionScope;
16
 import org.openzen.zenscript.codemodel.scope.ExpressionScope;
16
 import org.openzen.zenscript.codemodel.scope.StatementScope;
17
 import org.openzen.zenscript.codemodel.scope.StatementScope;
17
 import org.openzen.zenscript.codemodel.statement.Statement;
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 View File

7
 
7
 
8
 import java.util.Collections;
8
 import java.util.Collections;
9
 import java.util.List;
9
 import java.util.List;
10
+import org.openzen.zencode.shared.CodePosition;
10
 import org.openzen.zenscript.codemodel.FunctionHeader;
11
 import org.openzen.zenscript.codemodel.FunctionHeader;
11
 import org.openzen.zenscript.codemodel.FunctionParameter;
12
 import org.openzen.zenscript.codemodel.FunctionParameter;
12
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
13
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
18
 import org.openzen.zenscript.codemodel.scope.StatementScope;
19
 import org.openzen.zenscript.codemodel.scope.StatementScope;
19
 import org.openzen.zenscript.codemodel.statement.Statement;
20
 import org.openzen.zenscript.codemodel.statement.Statement;
20
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
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 View File

8
 import java.util.Arrays;
8
 import java.util.Arrays;
9
 import java.util.Collections;
9
 import java.util.Collections;
10
 import java.util.List;
10
 import java.util.List;
11
+import org.openzen.zencode.shared.CodePosition;
11
 import org.openzen.zenscript.codemodel.FunctionHeader;
12
 import org.openzen.zenscript.codemodel.FunctionHeader;
12
 import org.openzen.zenscript.codemodel.FunctionParameter;
13
 import org.openzen.zenscript.codemodel.FunctionParameter;
13
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
14
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
23
 import org.openzen.zenscript.codemodel.statement.Statement;
24
 import org.openzen.zenscript.codemodel.statement.Statement;
24
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
25
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
25
 import org.openzen.zenscript.codemodel.type.GenericName;
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 View File

7
 
7
 
8
 import java.util.ArrayList;
8
 import java.util.ArrayList;
9
 import java.util.List;
9
 import java.util.List;
10
-import org.openzen.zenscript.codemodel.expression.ConstantStringExpression;
10
+import org.openzen.zencode.shared.CodePosition;
11
 import org.openzen.zenscript.codemodel.expression.Expression;
11
 import org.openzen.zenscript.codemodel.expression.Expression;
12
 import org.openzen.zenscript.codemodel.expression.ExpressionBuilder;
12
 import org.openzen.zenscript.codemodel.expression.ExpressionBuilder;
13
 import org.openzen.zenscript.codemodel.expression.PanicExpression;
13
 import org.openzen.zenscript.codemodel.expression.PanicExpression;
20
 import org.openzen.zenscript.codemodel.statement.IfStatement;
20
 import org.openzen.zenscript.codemodel.statement.IfStatement;
21
 import org.openzen.zenscript.codemodel.statement.Statement;
21
 import org.openzen.zenscript.codemodel.statement.Statement;
22
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.definition;
6
 package org.openzen.zenscript.codemodel.definition;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
9
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
9
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.definition;
6
 package org.openzen.zenscript.codemodel.definition;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
9
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
9
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

7
 
7
 
8
 import java.util.ArrayList;
8
 import java.util.ArrayList;
9
 import java.util.List;
9
 import java.util.List;
10
+import org.openzen.zencode.shared.CodePosition;
10
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
11
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
11
 import org.openzen.zenscript.codemodel.member.EnumConstantMember;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.definition;
6
 package org.openzen.zenscript.codemodel.definition;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
9
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
9
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.definition;
6
 package org.openzen.zenscript.codemodel.definition;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.FunctionHeader;
9
 import org.openzen.zenscript.codemodel.FunctionHeader;
9
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
10
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
10
 import org.openzen.zenscript.codemodel.Modifiers;
11
 import org.openzen.zenscript.codemodel.Modifiers;
13
 import org.openzen.zenscript.codemodel.statement.Statement;
14
 import org.openzen.zenscript.codemodel.statement.Statement;
14
 import org.openzen.zenscript.codemodel.type.member.DefinitionMemberGroup;
15
 import org.openzen.zenscript.codemodel.type.member.DefinitionMemberGroup;
15
 import org.openzen.zenscript.codemodel.type.member.TypeMemberPriority;
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 View File

7
 
7
 
8
 import java.util.ArrayList;
8
 import java.util.ArrayList;
9
 import java.util.List;
9
 import java.util.List;
10
+import org.openzen.zencode.shared.CodePosition;
10
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
11
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
11
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.definition;
6
 package org.openzen.zenscript.codemodel.definition;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
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 View File

7
 
7
 
8
 import java.util.ArrayList;
8
 import java.util.ArrayList;
9
 import java.util.List;
9
 import java.util.List;
10
+import org.openzen.zencode.shared.CodePosition;
11
+import org.openzen.zencode.shared.Taggable;
10
 import org.openzen.zenscript.codemodel.GenericMapper;
12
 import org.openzen.zenscript.codemodel.GenericMapper;
11
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
13
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
12
 import org.openzen.zenscript.codemodel.member.ref.VariantOptionRef;
14
 import org.openzen.zenscript.codemodel.member.ref.VariantOptionRef;
13
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

8
 import java.util.HashMap;
8
 import java.util.HashMap;
9
 import java.util.List;
9
 import java.util.List;
10
 import java.util.Map;
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
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
14
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
14
 import org.openzen.zenscript.codemodel.partial.IPartialExpression;
15
 import org.openzen.zenscript.codemodel.partial.IPartialExpression;
15
 import org.openzen.zenscript.codemodel.partial.PartialPackageExpression;
16
 import org.openzen.zenscript.codemodel.partial.PartialPackageExpression;
17
 import org.openzen.zenscript.codemodel.type.GenericName;
18
 import org.openzen.zenscript.codemodel.type.GenericName;
18
 import org.openzen.zenscript.codemodel.type.GlobalTypeRegistry;
19
 import org.openzen.zenscript.codemodel.type.GlobalTypeRegistry;
19
 import org.openzen.zenscript.codemodel.type.ITypeID;
20
 import org.openzen.zenscript.codemodel.type.ITypeID;
20
-import org.openzen.zenscript.shared.CodePosition;
21
 import org.openzen.zenscript.codemodel.scope.TypeScope;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.ArrayTypeID;
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 View File

6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
 import java.util.Arrays;
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
 import org.openzen.zenscript.codemodel.FunctionHeader;
12
 import org.openzen.zenscript.codemodel.FunctionHeader;
10
 import org.openzen.zenscript.codemodel.scope.TypeScope;
13
 import org.openzen.zenscript.codemodel.scope.TypeScope;
11
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.FunctionHeader;
9
 import org.openzen.zenscript.codemodel.FunctionHeader;
9
 import org.openzen.zenscript.codemodel.member.ref.FunctionalMemberRef;
10
 import org.openzen.zenscript.codemodel.member.ref.FunctionalMemberRef;
10
 import org.openzen.zenscript.codemodel.scope.TypeScope;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.FunctionHeader;
9
 import org.openzen.zenscript.codemodel.FunctionHeader;
9
 import org.openzen.zenscript.codemodel.member.ref.FunctionalMemberRef;
10
 import org.openzen.zenscript.codemodel.member.ref.FunctionalMemberRef;
10
 import org.openzen.zenscript.codemodel.scope.TypeScope;
11
 import org.openzen.zenscript.codemodel.scope.TypeScope;
11
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.FunctionHeader;
9
 import org.openzen.zenscript.codemodel.FunctionHeader;
9
 import org.openzen.zenscript.codemodel.scope.TypeScope;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.statement.VarStatement;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.FunctionParameter;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.member.ref.CasterMemberRef;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
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
  * Converts a value from X? to X. Throws a NullPointerException if the value is null.
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
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 View File

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

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.member.EnumConstantMember;
9
 import org.openzen.zenscript.codemodel.member.EnumConstantMember;
9
 import org.openzen.zenscript.codemodel.member.ref.ConstMemberRef;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.member.ref.FunctionalMemberRef;
9
 import org.openzen.zenscript.codemodel.member.ref.FunctionalMemberRef;
9
 import org.openzen.zenscript.codemodel.scope.TypeScope;
10
 import org.openzen.zenscript.codemodel.scope.TypeScope;
10
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
11
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
11
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
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
 import org.openzen.zenscript.codemodel.member.ref.FunctionalMemberRef;
9
 import org.openzen.zenscript.codemodel.member.ref.FunctionalMemberRef;
10
 import org.openzen.zenscript.codemodel.scope.TypeScope;
10
 import org.openzen.zenscript.codemodel.scope.TypeScope;
11
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
11
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
12
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.definition.EnumDefinition;
9
 import org.openzen.zenscript.codemodel.definition.EnumDefinition;
9
 import org.openzen.zenscript.codemodel.member.EnumConstantMember;
10
 import org.openzen.zenscript.codemodel.member.EnumConstantMember;
10
 import org.openzen.zenscript.codemodel.type.GlobalTypeRegistry;
11
 import org.openzen.zenscript.codemodel.type.GlobalTypeRegistry;
11
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

9
 import java.util.List;
9
 import java.util.List;
10
 import java.util.function.Consumer;
10
 import java.util.function.Consumer;
11
 import java.util.stream.Collectors;
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
 import org.openzen.zenscript.codemodel.FunctionHeader;
15
 import org.openzen.zenscript.codemodel.FunctionHeader;
13
 import org.openzen.zenscript.codemodel.OperatorType;
16
 import org.openzen.zenscript.codemodel.OperatorType;
14
 import org.openzen.zenscript.codemodel.member.EnumConstantMember;
17
 import org.openzen.zenscript.codemodel.member.EnumConstantMember;
16
 import org.openzen.zenscript.codemodel.type.GenericName;
19
 import org.openzen.zenscript.codemodel.type.GenericName;
17
 import org.openzen.zenscript.codemodel.type.ITypeID;
20
 import org.openzen.zenscript.codemodel.type.ITypeID;
18
 import org.openzen.zenscript.codemodel.type.member.TypeMembers;
21
 import org.openzen.zenscript.codemodel.type.member.TypeMembers;
19
-import org.openzen.zenscript.shared.CodePosition;
20
 import org.openzen.zenscript.codemodel.scope.TypeScope;
22
 import org.openzen.zenscript.codemodel.scope.TypeScope;
21
 import org.openzen.zenscript.codemodel.statement.Statement;
23
 import org.openzen.zenscript.codemodel.statement.Statement;
22
 import org.openzen.zenscript.codemodel.statement.StatementTransformer;
24
 import org.openzen.zenscript.codemodel.statement.StatementTransformer;
23
 import org.openzen.zenscript.codemodel.type.FunctionTypeID;
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 View File

7
 
7
 
8
 import java.util.ArrayList;
8
 import java.util.ArrayList;
9
 import java.util.List;
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
 import org.openzen.zenscript.codemodel.OperatorType;
13
 import org.openzen.zenscript.codemodel.OperatorType;
11
-import org.openzen.zenscript.codemodel.member.ConstructorMember;
12
 import org.openzen.zenscript.codemodel.member.ref.FunctionalMemberRef;
14
 import org.openzen.zenscript.codemodel.member.ref.FunctionalMemberRef;
13
 import org.openzen.zenscript.codemodel.scope.ExpressionScope;
15
 import org.openzen.zenscript.codemodel.scope.ExpressionScope;
14
 import org.openzen.zenscript.codemodel.type.GenericName;
16
 import org.openzen.zenscript.codemodel.type.GenericName;
15
 import org.openzen.zenscript.codemodel.type.ITypeID;
17
 import org.openzen.zenscript.codemodel.type.ITypeID;
16
 import org.openzen.zenscript.codemodel.type.member.DefinitionMemberGroup;
18
 import org.openzen.zenscript.codemodel.type.member.DefinitionMemberGroup;
17
 import org.openzen.zenscript.codemodel.type.member.TypeMembers;
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
 	}
33
 	}
35
 	
34
 	
36
 	public Expression constructNew(String typename, Expression... arguments) {
35
 	public Expression constructNew(String typename, Expression... arguments) {
37
-		List<String> nameParts = StringUtils.split(typename, '.');
36
+		String[] nameParts = Strings.split(typename, '.');
38
 		List<GenericName> name = new ArrayList<>();
37
 		List<GenericName> name = new ArrayList<>();
39
 		for (String namePart : nameParts)
38
 		for (String namePart : nameParts)
40
 			name.add(new GenericName(namePart));
39
 			name.add(new GenericName(namePart));

+ 4
- 3
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/FunctionExpression.java View File

8
 import java.util.HashMap;
8
 import java.util.HashMap;
9
 import java.util.Map;
9
 import java.util.Map;
10
 import java.util.function.Consumer;
10
 import java.util.function.Consumer;
11
+import org.openzen.zencode.shared.CodePosition;
12
+import org.openzen.zencode.shared.ConcatMap;
11
 import org.openzen.zenscript.codemodel.FunctionHeader;
13
 import org.openzen.zenscript.codemodel.FunctionHeader;
12
 import org.openzen.zenscript.codemodel.FunctionParameter;
14
 import org.openzen.zenscript.codemodel.FunctionParameter;
13
 import org.openzen.zenscript.codemodel.statement.ExpressionStatement;
15
 import org.openzen.zenscript.codemodel.statement.ExpressionStatement;
16
+import org.openzen.zenscript.codemodel.statement.LoopStatement;
14
 import org.openzen.zenscript.codemodel.statement.ReturnStatement;
17
 import org.openzen.zenscript.codemodel.statement.ReturnStatement;
15
 import org.openzen.zenscript.codemodel.statement.Statement;
18
 import org.openzen.zenscript.codemodel.statement.Statement;
16
 import org.openzen.zenscript.codemodel.type.FunctionTypeID;
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
 
46
 
46
 	@Override
47
 	@Override
47
 	public FunctionExpression transform(ExpressionTransformer transformer) {
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
 		return tBody == body ? this : new FunctionExpression(position, (FunctionTypeID)type, closure, tBody);
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 View File

7
 
7
 
8
 import java.util.Collections;
8
 import java.util.Collections;
9
 import java.util.List;
9
 import java.util.List;
10
+import org.openzen.zencode.shared.CodePosition;
10
 import org.openzen.zenscript.codemodel.member.ref.FieldMemberRef;
11
 import org.openzen.zenscript.codemodel.member.ref.FieldMemberRef;
11
 import org.openzen.zenscript.codemodel.scope.TypeScope;
12
 import org.openzen.zenscript.codemodel.scope.TypeScope;
12
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.FunctionParameter;
9
 import org.openzen.zenscript.codemodel.FunctionParameter;
9
-import org.openzen.zenscript.shared.CodePosition;
10
 import org.openzen.zenscript.codemodel.scope.TypeScope;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.statement.VarStatement;
9
 import org.openzen.zenscript.codemodel.statement.VarStatement;
9
-import org.openzen.zenscript.shared.CodePosition;
10
 import org.openzen.zenscript.codemodel.scope.TypeScope;
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 View File

7
 
7
 
8
 import java.util.Collections;
8
 import java.util.Collections;
9
 import java.util.List;
9
 import java.util.List;
10
+import org.openzen.zencode.shared.CodePosition;
10
 import org.openzen.zenscript.codemodel.member.ref.FieldMemberRef;
11
 import org.openzen.zenscript.codemodel.member.ref.FieldMemberRef;
11
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.member.ref.GetterMemberRef;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
9
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
9
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
 import java.util.ArrayList;
8
 import java.util.ArrayList;
9
-import java.util.Arrays;
10
 import java.util.Collections;
9
 import java.util.Collections;
11
 import java.util.List;
10
 import java.util.List;
11
+import org.openzen.zencode.shared.CodePosition;
12
 import org.openzen.zenscript.codemodel.expression.switchvalue.SwitchValue;
12
 import org.openzen.zenscript.codemodel.expression.switchvalue.SwitchValue;
13
 import org.openzen.zenscript.codemodel.statement.BreakStatement;
13
 import org.openzen.zenscript.codemodel.statement.BreakStatement;
14
 import org.openzen.zenscript.codemodel.statement.ExpressionStatement;
14
 import org.openzen.zenscript.codemodel.statement.ExpressionStatement;
18
 import org.openzen.zenscript.codemodel.statement.VarStatement;
18
 import org.openzen.zenscript.codemodel.statement.VarStatement;
19
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
19
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
20
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.FunctionHeader;
9
 import org.openzen.zenscript.codemodel.FunctionHeader;
9
-import org.openzen.zenscript.codemodel.member.ConstructorMember;
10
 import org.openzen.zenscript.codemodel.member.ref.FunctionalMemberRef;
10
 import org.openzen.zenscript.codemodel.member.ref.FunctionalMemberRef;
11
 import org.openzen.zenscript.codemodel.scope.TypeScope;
11
 import org.openzen.zenscript.codemodel.scope.TypeScope;
12
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
9
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
9
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

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

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/RangeExpression.java View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.GlobalTypeRegistry;
9
 import org.openzen.zenscript.codemodel.type.GlobalTypeRegistry;
9
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.BasicTypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.member.ref.FieldMemberRef;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.FunctionParameter;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.statement.VarStatement;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.member.ref.FieldMemberRef;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.member.ref.SetterMemberRef;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.member.ref.GetterMemberRef;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.member.ref.SetterMemberRef;
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 View File

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

+ 1
- 1
CodeModel/src/main/java/org/openzen/zenscript/codemodel/expression/ThisExpression.java View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.partial.IPartialExpression;
9
 import org.openzen.zenscript.codemodel.partial.IPartialExpression;
9
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
 import java.util.List;
8
 import java.util.List;
9
+import org.openzen.zencode.shared.CodePosition;
9
 import org.openzen.zenscript.codemodel.member.ref.VariantOptionRef;
10
 import org.openzen.zenscript.codemodel.member.ref.VariantOptionRef;
10
 import org.openzen.zenscript.codemodel.scope.TypeScope;
11
 import org.openzen.zenscript.codemodel.scope.TypeScope;
11
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.expression;
6
 package org.openzen.zenscript.codemodel.expression;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.type.ITypeID;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.generic;
6
 package org.openzen.zenscript.codemodel.generic;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.GenericMapper;
9
 import org.openzen.zenscript.codemodel.GenericMapper;
9
 import org.openzen.zenscript.codemodel.type.member.TypeMembers;
10
 import org.openzen.zenscript.codemodel.type.member.TypeMembers;
10
 import org.openzen.zenscript.codemodel.type.ITypeID;
11
 import org.openzen.zenscript.codemodel.type.ITypeID;
11
 import org.openzen.zenscript.codemodel.type.member.LocalMemberCache;
12
 import org.openzen.zenscript.codemodel.type.member.LocalMemberCache;
12
 import org.openzen.zenscript.codemodel.type.member.TypeMemberPriority;
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 View File

8
 import java.util.ArrayList;
8
 import java.util.ArrayList;
9
 import java.util.List;
9
 import java.util.List;
10
 import java.util.Map;
10
 import java.util.Map;
11
+import org.openzen.zencode.shared.CodePosition;
11
 import org.openzen.zenscript.codemodel.type.GlobalTypeRegistry;
12
 import org.openzen.zenscript.codemodel.type.GlobalTypeRegistry;
12
 import org.openzen.zenscript.codemodel.type.ITypeID;
13
 import org.openzen.zenscript.codemodel.type.ITypeID;
13
 import org.openzen.zenscript.codemodel.type.member.LocalMemberCache;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.member;
6
 package org.openzen.zenscript.codemodel.member;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.FunctionHeader;
9
 import org.openzen.zenscript.codemodel.FunctionHeader;
9
 import org.openzen.zenscript.codemodel.GenericMapper;
10
 import org.openzen.zenscript.codemodel.GenericMapper;
10
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
11
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
11
 import org.openzen.zenscript.codemodel.type.member.BuiltinID;
12
 import org.openzen.zenscript.codemodel.type.member.BuiltinID;
12
 import org.openzen.zenscript.codemodel.type.member.TypeMemberPriority;
13
 import org.openzen.zenscript.codemodel.type.member.TypeMemberPriority;
13
 import org.openzen.zenscript.codemodel.type.member.TypeMembers;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.member;
6
 package org.openzen.zenscript.codemodel.member;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.FunctionHeader;
9
 import org.openzen.zenscript.codemodel.FunctionHeader;
9
 import org.openzen.zenscript.codemodel.GenericMapper;
10
 import org.openzen.zenscript.codemodel.GenericMapper;
10
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
11
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
14
 import org.openzen.zenscript.codemodel.type.ITypeID;
15
 import org.openzen.zenscript.codemodel.type.ITypeID;
15
 import org.openzen.zenscript.codemodel.type.member.BuiltinID;
16
 import org.openzen.zenscript.codemodel.type.member.BuiltinID;
16
 import org.openzen.zenscript.codemodel.type.member.TypeMemberPriority;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.member;
6
 package org.openzen.zenscript.codemodel.member;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.GenericMapper;
9
 import org.openzen.zenscript.codemodel.GenericMapper;
9
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
10
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
10
 import org.openzen.zenscript.codemodel.expression.Expression;
11
 import org.openzen.zenscript.codemodel.expression.Expression;
13
 import org.openzen.zenscript.codemodel.type.member.BuiltinID;
14
 import org.openzen.zenscript.codemodel.type.member.BuiltinID;
14
 import org.openzen.zenscript.codemodel.type.member.TypeMemberPriority;
15
 import org.openzen.zenscript.codemodel.type.member.TypeMemberPriority;
15
 import org.openzen.zenscript.codemodel.type.member.TypeMembers;
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 View File

5
  */
5
  */
6
 package org.openzen.zenscript.codemodel.member;
6
 package org.openzen.zenscript.codemodel.member;
7
 
7
 
8
+import org.openzen.zencode.shared.CodePosition;
8
 import org.openzen.zenscript.codemodel.FunctionHeader;
9
 import org.openzen.zenscript.codemodel.FunctionHeader;
9
 import org.openzen.zenscript.codemodel.GenericMapper;
10
 import org.openzen.zenscript.codemodel.GenericMapper;
10
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
11
 import org.openzen.zenscript.codemodel.HighLevelDefinition;
16
 import org.openzen.zenscript.codemodel.type.member.BuiltinID;
17
 import org.openzen.zenscript.codemodel.type.member.BuiltinID;
17
 import org.openzen.zenscript.codemodel.type.member.TypeMemberPriority;
18
 import org.openzen.zenscript.codemodel.type.member.TypeMemberPriority;
18
 import org.openzen.zenscript.codemodel.type.member.TypeMembers;
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 View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save