Refactored the name of package help

This commit is contained in:
ahmad 2024-07-01 20:21:31 +02:00
parent ad770213d3
commit c71ecd6200
13 changed files with 14 additions and 14 deletions

View File

@ -1,10 +1,10 @@
package de.maishai.typedast.Help;
package de.maishai.typedast.Util;
import de.maishai.ast.records.*;
import de.maishai.typedast.TypedExpression;
import de.maishai.typedast.typedclass.*;
public class TypedExpressionHelp {
public class TypedExpressionUtil {
public static TypedExpression convertExpression( TypedProgram typedProgram, Expression expression) {
if (expression instanceof BoolLiteral boolLiteral) {

View File

@ -13,7 +13,7 @@ import java.util.Optional;
import java.util.logging.Level;
import java.util.logging.Logger;
import static de.maishai.typedast.Help.TypedExpressionHelp.convertExpression;
import static de.maishai.typedast.Util.TypedExpressionUtil.convertExpression;
@Data
@AllArgsConstructor

View File

@ -11,7 +11,7 @@ import lombok.NoArgsConstructor;
import org.objectweb.asm.Label;
import org.objectweb.asm.Opcodes;
import static de.maishai.typedast.Help.TypedExpressionHelp.convertExpression;
import static de.maishai.typedast.Util.TypedExpressionUtil.convertExpression;
@Data
@NoArgsConstructor

View File

@ -7,7 +7,7 @@ import lombok.Data;
import org.objectweb.asm.Label;
import org.objectweb.asm.Opcodes;
import static de.maishai.typedast.Help.TypedExpressionHelp.convertExpression;
import static de.maishai.typedast.Util.TypedExpressionUtil.convertExpression;
@Data
@AllArgsConstructor

View File

@ -13,7 +13,7 @@ import java.util.Optional;
import java.util.logging.Level;
import java.util.logging.Logger;
import static de.maishai.typedast.Help.TypedExpressionHelp.convertExpression;
import static de.maishai.typedast.Util.TypedExpressionUtil.convertExpression;
@Data
@NoArgsConstructor

View File

@ -8,7 +8,7 @@ import lombok.NoArgsConstructor;
import org.objectweb.asm.Label;
import org.objectweb.asm.Opcodes;
import static de.maishai.typedast.Help.TypedExpressionHelp.convertExpression;
import static de.maishai.typedast.Util.TypedExpressionUtil.convertExpression;
@Data
@AllArgsConstructor

View File

@ -8,7 +8,7 @@ import lombok.NoArgsConstructor;
import org.objectweb.asm.Label;
import org.objectweb.asm.Opcodes;
import static de.maishai.typedast.Help.TypedExpressionHelp.convertExpression;
import static de.maishai.typedast.Util.TypedExpressionUtil.convertExpression;
@Data
@NoArgsConstructor

View File

@ -14,7 +14,7 @@ import java.util.Optional;
import java.util.logging.Level;
import java.util.logging.Logger;
import static de.maishai.typedast.Help.TypedExpressionHelp.convertExpression;
import static de.maishai.typedast.Util.TypedExpressionUtil.convertExpression;
@Data

View File

@ -12,7 +12,7 @@ import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import static de.maishai.typedast.Help.TypedExpressionHelp.convertExpression;
import static de.maishai.typedast.Util.TypedExpressionUtil.convertExpression;
@Data
@AllArgsConstructor

View File

@ -7,7 +7,7 @@ import org.objectweb.asm.Opcodes;
import java.util.List;
import static de.maishai.typedast.Help.TypedExpressionHelp.convertExpression;
import static de.maishai.typedast.Util.TypedExpressionUtil.convertExpression;
@AllArgsConstructor
public class TypedPrint implements TypedStatement {

View File

@ -10,7 +10,7 @@ import org.objectweb.asm.Opcodes;
import java.util.logging.Logger;
import static de.maishai.typedast.Help.TypedExpressionHelp.convertExpression;
import static de.maishai.typedast.Util.TypedExpressionUtil.convertExpression;
@Data
@NoArgsConstructor

View File

@ -9,7 +9,7 @@ import lombok.AllArgsConstructor;
import lombok.Data;
import org.objectweb.asm.Opcodes;
import static de.maishai.typedast.Help.TypedExpressionHelp.convertExpression;
import static de.maishai.typedast.Util.TypedExpressionUtil.convertExpression;
@Data
@AllArgsConstructor

View File

@ -10,7 +10,7 @@ import lombok.Data;
import org.objectweb.asm.Label;
import org.objectweb.asm.Opcodes;
import static de.maishai.typedast.Help.TypedExpressionHelp.convertExpression;
import static de.maishai.typedast.Util.TypedExpressionUtil.convertExpression;
@Data
@AllArgsConstructor