Commit f3c061d8 authored by Alexander Weigl's avatar Alexander Weigl
Browse files

refactor and matcher

parent a8d6499c
Pipeline #12898 failed with stage
in 1 minute and 30 seconds
package edu.kit.formal.proofscriptparser.lint;
package edu.kit.formal.psdb.lint;
import edu.kit.formal.proofscriptparser.ast.ProofScript;
import edu.kit.formal.psdb.parser.ast.ProofScript;
import lombok.Getter;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Unmarshaller;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import java.util.ServiceLoader;
......
package edu.kit.formal.proofscriptparser.lint.checkers;
package edu.kit.formal.psdb.lint.checkers;
import edu.kit.formal.proofscriptparser.ast.ASTNode;
import edu.kit.formal.proofscriptparser.lint.*;
import edu.kit.formal.psdb.parser.ast.ASTNode;
import edu.kit.formal.psdb.lint.*;
import java.util.List;
......
package edu.kit.formal.proofscriptparser.lint.checkers;
package edu.kit.formal.psdb.lint.checkers;
import edu.kit.formal.proofscriptparser.ast.*;
import edu.kit.formal.proofscriptparser.lint.Issue;
import edu.kit.formal.proofscriptparser.lint.IssuesRepository;
import edu.kit.formal.psdb.parser.ast.*;
import edu.kit.formal.psdb.lint.Issue;
import edu.kit.formal.psdb.lint.IssuesRepository;
/**
* @author Alexander Weigl
......
package edu.kit.formal.proofscriptparser.lint.checkers;
package edu.kit.formal.psdb.lint.checkers;
import edu.kit.formal.proofscriptparser.ast.ASTNode;
import edu.kit.formal.proofscriptparser.ast.ProofScript;
import edu.kit.formal.proofscriptparser.lint.Issue;
import edu.kit.formal.proofscriptparser.lint.IssuesRepository;
import edu.kit.formal.proofscriptparser.lint.LintProblem;
import edu.kit.formal.proofscriptparser.lint.LintRule;
import edu.kit.formal.psdb.parser.ast.ASTNode;
import edu.kit.formal.psdb.parser.ast.ProofScript;
import edu.kit.formal.psdb.lint.Issue;
import edu.kit.formal.psdb.lint.IssuesRepository;
import edu.kit.formal.psdb.lint.LintProblem;
import edu.kit.formal.psdb.lint.LintRule;
import org.antlr.v4.runtime.Token;
import java.util.HashMap;
......
package edu.kit.formal.proofscriptparser.lint.checkers;
package edu.kit.formal.psdb.lint.checkers;
import edu.kit.formal.proofscriptparser.ASTTraversal;
import edu.kit.formal.proofscriptparser.DefaultASTVisitor;
import edu.kit.formal.proofscriptparser.ast.ASTNode;
import edu.kit.formal.proofscriptparser.ast.MatchExpression;
import edu.kit.formal.proofscriptparser.ast.UnaryExpression;
import edu.kit.formal.proofscriptparser.lint.Issue;
import edu.kit.formal.proofscriptparser.lint.LintProblem;
import edu.kit.formal.psdb.parser.ASTTraversal;
import edu.kit.formal.psdb.parser.ast.ASTNode;
import edu.kit.formal.psdb.lint.Issue;
import edu.kit.formal.psdb.lint.LintProblem;
import lombok.Getter;
import java.util.ArrayList;
......
package edu.kit.formal.proofscriptparser.lint.checkers;
import java.util.List;
package edu.kit.formal.psdb.lint.checkers;
/**
* @author Alexander Weigl
......
package edu.kit.formal.proofscriptparser.lint.checkers;
package edu.kit.formal.psdb.lint.checkers;
import edu.kit.formal.proofscriptparser.ast.ForeachStatement;
import edu.kit.formal.proofscriptparser.ast.GoalSelector;
import edu.kit.formal.proofscriptparser.ast.RepeatStatement;
import edu.kit.formal.proofscriptparser.ast.TheOnlyStatement;
import edu.kit.formal.proofscriptparser.lint.Issue;
import edu.kit.formal.proofscriptparser.lint.IssuesRepository;
import edu.kit.formal.psdb.parser.ast.ForeachStatement;
import edu.kit.formal.psdb.parser.ast.GoalSelector;
import edu.kit.formal.psdb.parser.ast.RepeatStatement;
import edu.kit.formal.psdb.parser.ast.TheOnlyStatement;
import edu.kit.formal.psdb.lint.Issue;
import edu.kit.formal.psdb.lint.IssuesRepository;
import java.util.Objects;
......
package edu.kit.formal.proofscriptparser.lint.checkers;
import edu.kit.formal.interpreter.data.VariableAssignment;
import edu.kit.formal.proofscriptparser.ast.*;
import edu.kit.formal.proofscriptparser.lint.Issue;
import edu.kit.formal.proofscriptparser.lint.IssuesRepository;
import edu.kit.formal.proofscriptparser.types.SimpleType;
import edu.kit.formal.proofscriptparser.types.Type;
package edu.kit.formal.psdb.lint.checkers;
import edu.kit.formal.psdb.interpreter.data.VariableAssignment;
import edu.kit.formal.psdb.parser.ast.*;
import edu.kit.formal.psdb.lint.Issue;
import edu.kit.formal.psdb.lint.IssuesRepository;
import edu.kit.formal.psdb.parser.types.Type;
import org.antlr.v4.runtime.Token;
import java.util.HashMap;
......
......@@ -2,4 +2,4 @@
* @author Alexander Weigl
* @version 1 (23.05.17)
*/
package edu.kit.formal.proofscriptparser.lint;
\ No newline at end of file
package edu.kit.formal.psdb.lint;
\ No newline at end of file
package edu.kit.formal.proofscriptparser;
package edu.kit.formal.psdb.parser;
/*-
* #%L
......@@ -23,9 +23,8 @@ package edu.kit.formal.proofscriptparser;
*/
import edu.kit.formal.proofscriptparser.ast.*;
import edu.kit.formal.proofscriptparser.types.SimpleType;
import edu.kit.formal.proofscriptparser.types.Type;
import edu.kit.formal.psdb.parser.ast.*;
import edu.kit.formal.psdb.parser.types.Type;
import java.util.ArrayList;
import java.util.Map;
......
package edu.kit.formal.proofscriptparser;
package edu.kit.formal.psdb.parser;
/*-
* #%L
......@@ -23,8 +23,8 @@ package edu.kit.formal.proofscriptparser;
*/
import edu.kit.formal.proofscriptparser.ast.*;
import edu.kit.formal.proofscriptparser.types.Type;
import edu.kit.formal.psdb.parser.ast.*;
import edu.kit.formal.psdb.parser.types.Type;
import java.util.Map;
......
package edu.kit.formal.proofscriptparser;
package edu.kit.formal.psdb.parser;
/*-
* #%L
......@@ -23,7 +23,7 @@ package edu.kit.formal.proofscriptparser;
*/
import edu.kit.formal.proofscriptparser.ast.*;
import edu.kit.formal.psdb.parser.ast.*;
/**
* @author Alexander Weigl
......
package edu.kit.formal.proofscriptparser;
package edu.kit.formal.psdb.parser;
/*-
* #%L
......@@ -23,8 +23,8 @@ package edu.kit.formal.proofscriptparser;
*/
import edu.kit.formal.proofscriptparser.ast.ASTNode;
import edu.kit.formal.proofscriptparser.ast.ProofScript;
import edu.kit.formal.psdb.parser.ast.ASTNode;
import edu.kit.formal.psdb.parser.ast.ProofScript;
import org.antlr.v4.runtime.CharStream;
import org.antlr.v4.runtime.CharStreams;
import org.antlr.v4.runtime.CommonTokenStream;
......
package edu.kit.formal.proofscriptparser;
package edu.kit.formal.psdb.parser;
/*-
* #%L
......@@ -24,7 +24,7 @@ package edu.kit.formal.proofscriptparser;
import edu.kit.formal.proofscriptparser.ast.Expression;
import edu.kit.formal.psdb.parser.ast.Expression;
import lombok.AllArgsConstructor;
import lombok.Data;
......
package edu.kit.formal.proofscriptparser;
package edu.kit.formal.psdb.parser;
/*-
* #%L
......@@ -23,9 +23,8 @@ package edu.kit.formal.proofscriptparser;
*/
import edu.kit.formal.proofscriptparser.ast.*;
import edu.kit.formal.proofscriptparser.types.SimpleType;
import edu.kit.formal.proofscriptparser.types.Type;
import edu.kit.formal.psdb.parser.ast.*;
import edu.kit.formal.psdb.parser.types.Type;
import lombok.Getter;
import lombok.Setter;
......
package edu.kit.formal.proofscriptparser;
package edu.kit.formal.psdb.parser;
/*-
* #%L
......@@ -23,8 +23,8 @@ package edu.kit.formal.proofscriptparser;
*/
import edu.kit.formal.proofscriptparser.ast.*;
import edu.kit.formal.proofscriptparser.types.TypeFacade;
import edu.kit.formal.psdb.parser.ast.*;
import edu.kit.formal.psdb.parser.types.TypeFacade;
import org.antlr.v4.runtime.ParserRuleContext;
import org.antlr.v4.runtime.tree.ErrorNode;
import org.antlr.v4.runtime.tree.ParseTree;
......
package edu.kit.formal.proofscriptparser;
package edu.kit.formal.psdb.parser;
/*-
* #%L
......@@ -24,7 +24,7 @@ package edu.kit.formal.proofscriptparser;
import edu.kit.formal.proofscriptparser.ast.*;
import edu.kit.formal.psdb.parser.ast.*;
/**
* @author Alexander Weigl
......
package edu.kit.formal.proofscriptparser.ast;
package edu.kit.formal.psdb.parser.ast;
/*-
* #%L
......@@ -23,8 +23,8 @@ package edu.kit.formal.proofscriptparser.ast;
*/
import edu.kit.formal.proofscriptparser.Visitable;
import edu.kit.formal.proofscriptparser.Visitor;
import edu.kit.formal.psdb.parser.Visitable;
import edu.kit.formal.psdb.parser.Visitor;
import lombok.Getter;
import org.antlr.v4.runtime.ParserRuleContext;
......
package edu.kit.formal.proofscriptparser.ast;
package edu.kit.formal.psdb.parser.ast;
/*-
* #%L
......@@ -24,10 +24,9 @@ package edu.kit.formal.proofscriptparser.ast;
import edu.kit.formal.proofscriptparser.ScriptLanguageParser;
import edu.kit.formal.proofscriptparser.Visitor;
import edu.kit.formal.proofscriptparser.types.SimpleType;
import edu.kit.formal.proofscriptparser.types.Type;
import edu.kit.formal.psdb.parser.ScriptLanguageParser;
import edu.kit.formal.psdb.parser.Visitor;
import edu.kit.formal.psdb.parser.types.Type;
import lombok.*;
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment