Skip to content

Commit

Permalink
Use new parser in processor
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheikah45 committed May 13, 2024
1 parent c1b0841 commit 34312ee
Show file tree
Hide file tree
Showing 69 changed files with 1,443 additions and 1,200 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ in a failure to compile the fxml file

Additionally, the controller class must be fully specified at compile time to ensure
proper processing. This can be done by using the fx:controller attribute in the root of the
view graph or by adding a <?controllerType > directive which specifies the fully qualified
view graph or by adding a <?fx2jControllerType > directive which specifies the fully qualified
name of the upper bounds for the controller class

## Usage
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
package io.github.sheikah45.fx2j.parser;

import io.github.sheikah45.fx2j.parser.element.DeclarationElement;

import java.util.List;
import java.util.Objects;

public record FxmlComponents(FxmlNode rootNode, List<FxmlProcessingInstruction> processingInstructions) {
public record FxmlComponents(DeclarationElement rootNode, List<FxmlProcessingInstruction> rootProcessingInstructions) {
public FxmlComponents {
Objects.requireNonNull(rootNode, "rootNode cannot be null");
Objects.requireNonNull(processingInstructions, "processingInstructions cannot be null");
processingInstructions = List.copyOf(processingInstructions);
Objects.requireNonNull(rootProcessingInstructions, "rootProcessingInstructions cannot be null");
rootProcessingInstructions = List.copyOf(rootProcessingInstructions);
}
}

This file was deleted.

This file was deleted.

Loading

0 comments on commit 34312ee

Please sign in to comment.