Renamed MismatchedComponentTypeAnalysis.kt.

This commit is contained in:
JesseBrault0709 2024-05-07 15:42:42 +02:00
parent 0f14cec9c5
commit 45781209c0
3 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@ import groowt.view.component.compiler.CachingComponentTemplateCompiler;
import groowt.view.component.compiler.ComponentTemplateCompileException;
import groowt.view.component.factory.ComponentTemplateSource;
import groowt.view.web.analysis.MismatchedComponentTypeError;
import groowt.view.web.analysis.MismatchedComponentTypeErrorAnalysis;
import groowt.view.web.analysis.MismatchedComponentTypeAnalysis;
import groowt.view.web.antlr.CompilationUnitParseResult;
import groowt.view.web.antlr.ParserUtil;
import groowt.view.web.antlr.TokenList;
@ -97,7 +97,7 @@ public class DefaultWebViewComponentTemplateCompiler extends CachingComponentTem
final CompilationUnitParseResult parseResult = ParserUtil.parseCompilationUnit(reader);
final List<MismatchedComponentTypeError> mismatchedComponentTypeErrors =
MismatchedComponentTypeErrorAnalysis.check(parseResult.getCompilationUnitContext());
MismatchedComponentTypeAnalysis.check(parseResult.getCompilationUnitContext());
final var tokenList = new TokenList(parseResult.getTokenStream());
final var astBuilder = new DefaultAstBuilder(new DefaultNodeFactory(tokenList));

View File

@ -1,4 +1,4 @@
@file:JvmName("MismatchedComponentTypeErrorAnalysis")
@file:JvmName("MismatchedComponentTypeAnalysis")
package groowt.view.web.analysis
import groowt.view.web.antlr.WebViewComponentsParser.ComponentTypeContext

View File

@ -2,7 +2,7 @@ package groowt.view.web.tools
import groovy.transform.InheritConstructors
import groovy.transform.MapConstructor
import groowt.view.web.analysis.MismatchedComponentTypeErrorAnalysis
import groowt.view.web.analysis.MismatchedComponentTypeAnalysis
import groowt.view.web.antlr.AntlrUtil
import groowt.view.web.antlr.ParserUtil
import groowt.view.web.antlr.TokenList
@ -96,7 +96,7 @@ final class AstFileMaker extends AbstractTreeFileMaker {
)
}
def mismatchedTypeErrors = MismatchedComponentTypeErrorAnalysis.check(cuContext)
def mismatchedTypeErrors = MismatchedComponentTypeAnalysis.check(cuContext)
if (!mismatchedTypeErrors.isEmpty()) {
def message = 'There were mismatched type errors: \n' + mismatchedTypeErrors.collect {