Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
b1a56fb
Added rascal-generated-java as submodule.
rodinaarssen Oct 20, 2026
227be2d
Merge remote-tracking branch 'origin/main' into feature/compiled-pars…
rodinaarssen Oct 22, 2026
9b72a11
Wired up the compiled parser generator
rodinaarssen Oct 26, 2026
265025b
Merge remote-tracking branch 'origin/main' into feature/compiled-pars…
rodinaarssen Nov 6, 2026
c539808
Correctly adding layout before looking for parse functions
rodinaarssen Nov 10, 2026
ffbb276
Using URIUtil function to convert from URL to loc
rodinaarssen Nov 11, 2026
7173397
Using cwd as project root for RascalExecutionContex (cf. ShellEvaluat…
rodinaarssen Nov 11, 2026
a7a3ae5
Disabled registration of project locations based on all project livin…
rodinaarssen Nov 11, 2026
599b45f
Unstubbed monitor-related methods in RascalExecutionContext
rodinaarssen Nov 11, 2026
9245d3f
Enabled registration of the project/target resolvers for the current …
rodinaarssen Nov 11, 2026
e209d73
Using new generated parser generator
rodinaarssen Nov 11, 2026
a4a1f4b
Removed unused constructor argument
rodinaarssen Nov 11, 2026
28b124c
Merge branch 'main' into feature/compiled-parser-generator
rodinaarssen Nov 11, 2026
9fcca3a
Updated workflow to check out submodules
rodinaarssen Nov 11, 2026
d4e7398
Using fully qualified name
rodinaarssen Nov 11, 2026
642f621
Fixed stack overflow during tests
rodinaarssen Nov 11, 2026
fc08253
Updated workflow to check out submodules once more
rodinaarssen Nov 11, 2026
d645407
Updated workflow to check out submodules once more
rodinaarssen Nov 11, 2026
eaaba0d
Merge remote-tracking branch 'origin' into feature/compiled-parser-ge…
rodinaarssen Nov 12, 2026
aedf7a3
Removed local path from the parser generator compilation module and a…
rodinaarssen Nov 16, 2026
dbd2c8b
Added license to code generation
rodinaarssen Nov 16, 2026
1056f3a
Updated lib:// location to project://
rodinaarssen Nov 16, 2026
bf51142
Updated submodule
rodinaarssen Nov 16, 2026
5d92fcc
No longer calling getValue() on the same IStrings twice in succession
rodinaarssen Nov 16, 2026
ecfde2a
Added comment to newly added maven plugin
rodinaarssen Nov 16, 2026
1dfa9a8
Merge remote-tracking branch 'origin' into feature/compiled-parser-ge…
rodinaarssen Nov 16, 2026
c62cc5c
Merge remote-tracking branch 'origin/main' into feature/compiled-pars…
rodinaarssen Nov 17, 2026
2518d64
Avoiding exceptions during code generation
rodinaarssen Nov 17, 2026
c71eef1
Bumped compiled parser generator
rodinaarssen Nov 17, 2026
ea53f61
Revert "Avoiding exceptions during code generation"
rodinaarssen Nov 17, 2026
5ca1a70
Reverted to previous version of generated parser generator
rodinaarssen Nov 17, 2026
d7b89de
Bumped submodule pointer. Submodule now has a DEVELOPERS.md
rodinaarssen Nov 17, 2026
f85b4fc
Added DEVELOPERS.md
rodinaarssen Nov 17, 2026
4165ee8
Bumped submodule after a typo fix
rodinaarssen Nov 17, 2026
ee9bbc9
Small tweaks to DEVELOPERS.md
rodinaarssen Nov 17, 2026
11ee5c4
Merge remote-tracking branch 'origin/main' into feature/compiled-pars…
rodinaarssen Nov 17, 2026
409c733
Bumped compiled parser generator
rodinaarssen Nov 18, 2026
1e3d2a5
Merge remote-tracking branch 'origin' into feature/compiled-parser-ge…
rodinaarssen Nov 18, 2026
91630e6
Merge remote-tracking branch 'origin' into feature/compiled-parser-ge…
rodinaarssen Nov 23, 2026
c1d868b
Merge remote-tracking branch 'origin/main' into feature/compiled-pars…
rodinaarssen Nov 24, 2026
c09fa94
Bumped compiled parser generator
rodinaarssen Nov 24, 2026
3c707ba
Added explicit type to local variable
rodinaarssen Nov 24, 2026
b7d8ba0
Reusing stream from RascalExecutionContext
rodinaarssen Nov 24, 2026
b28eb83
Updated DEVELOPERS.md after @DavyLandman feedback
rodinaarssen Nov 24, 2026
1f78948
Added pointer to other repository in DEVELOPERS.md
rodinaarssen Nov 24, 2026
14e02f2
Made generate sources entry module more generic
rodinaarssen Nov 24, 2026
4c6930e
Bumped compiled submodule. tpls have been removed from there
rodinaarssen Nov 24, 2026
305f296
Merge remote-tracking branch 'origin/main' into feature/compiled-pars…
rodinaarssen Nov 24, 2026
149e79a
Fixed the main function for code generation
rodinaarssen Nov 24, 2026
4240e2f
Bumped compiled parser generator
rodinaarssen Nov 24, 2026
7cad4df
Merge remote-tracking branch 'origin/main' into feature/compiled-pars…
rodinaarssen Nov 30, 2026
4c3dd7b
Implemented ambiguous tree support similar to error tree support (cf.…
rodinaarssen Dec 1, 2026
9620c83
Implemented ambiguous tree support similar to error tree support (cf.…
PaulKlint Dec 1, 2026
4848059
Merge remote-tracking branch 'origin/main' into feature/compiled-pars…
rodinaarssen Dec 3, 2026
c60b8f3
Merge remote-tracking branch 'refs/remotes/origin/feature/compiled-pa…
rodinaarssen Dec 3, 2026
59e5d77
Merge remote-tracking branch 'origin/main' into feature/compiled-pars…
rodinaarssen Dec 3, 2026
6eae2d3
Removed function argument during generation
rodinaarssen Dec 4, 2026
b5a9b20
Merge branch 'main' into feature/compiled-parser-generator
rodinaarssen Dec 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
runs-on: ubicloud-standard-4
steps:
- uses: actions/checkout@v5
with:
submodules: true

- uses: actions/setup-java@v5
id: java
Expand Down Expand Up @@ -68,6 +70,8 @@ jobs:
- run: which chromedriver

- uses: actions/checkout@v5
with:
submodules: true

- uses: actions/setup-java@v5
with:
Expand Down Expand Up @@ -155,6 +159,8 @@ jobs:
MAVEN_OPTS: "-Xmx512M -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dorg.slf4j.simpleLogger.showDateTime=true -Djava.awt.headless=true"
steps:
- uses: actions/checkout@v5
with:
submodules: true

- uses: actions/setup-java@v5
with:
Expand Down Expand Up @@ -187,6 +193,8 @@ jobs:
MAVEN_OPTS: "-Xmx512M -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dorg.slf4j.simpleLogger.showDateTime=true -Djava.awt.headless=true"
steps:
- uses: actions/checkout@v5
with:
submodules: true

- uses: actions/setup-java@v5
with:
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "generated"]
path = generated
url = git@github.com:usethesource/rascal-generated-java.git
1 change: 1 addition & 0 deletions .settings/org.eclipse.core.resources.prefs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
eclipse.preferences.version=1
encoding//generated/src/main/java=UTF-8
encoding//src/org/rascalmpl/library=UTF-8
encoding//src/org/rascalmpl/library/experiments/vis2/lib/MarkdownConverter.js=UTF-8
encoding//src/org/rascalmpl/library/experiments/vis2/lib/nv.d3.css=UTF-8
Expand Down
18 changes: 18 additions & 0 deletions DEVELOPERS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Rascal Developer Manual

## Working with the repository

The Rascal project makes use of Java code that is generated from Rascal modules.
To avoid pollution of the Rascal repository itself, the generated code is not committed to this repository, but to a [separate repository](https://github.com/usethesource/rascal-generated-java).
This secondary repository is "linked in" using Git's submodule system, in the `generated` directory in the root of the repository.

To start working on Rascal, check out the Rascal repository (`git clone --recurse-submodules git@github.com:usethesource/rascal.git`).
Note: for existing (local) repositories, initialize the submodule through `git submodule update --init`.

By default, `git` operations (such as `git pull`) will reel in changes to submodules, but will not actually alter the content of submodule directories.
To bring the contents up to date, run `git submodule update` after a pull, or add the `--recurse-submodules` to `git pull`.
To automate this, set the configuration option `submodule.recurse` to `true` for the Rascal project.

## Updating the submodule

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's also explain how changes to that directory need to happen?

Or what's not possible.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The rascal-generated-java repo has a DEVELOPERS.md as well. I added a reference here


Instructions for updating the submodule contents can be found in the `DEVELOPERS.md` in the `rascal-generated-java` project.
1 change: 1 addition & 0 deletions generated
Submodule generated added at 6a3831
21 changes: 20 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<filtering>false</filtering>
</resource>
<resource>
<directory>${project.build.directory}/generated-resources</directory>
<directory>generated/src/main/java</directory>
</resource>
</resources>
<testSourceDirectory>test</testSourceDirectory>
Expand Down Expand Up @@ -414,6 +414,25 @@
</execution>
</executions>
</plugin>
<plugin><!-- Configure Maven to add the directory containing the compiled Rascal modules as source directory (base Maven only supports a single source directory) -->
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.6.2</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>generated/src/main/java</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
Expand Down
11 changes: 0 additions & 11 deletions src/org/rascalmpl/interpreter/Evaluator.java
Original file line number Diff line number Diff line change
Expand Up @@ -719,17 +719,6 @@ public IConstructor getGrammar(Environment env) {
return getParserGenerator().getGrammarFromModules(monitor, root.getName(), root.getSyntaxDefinition());
}

public IValue diagnoseAmbiguity(IRascalMonitor monitor, IConstructor parseTree) {
IRascalMonitor old = setMonitor(monitor);
try {
ParserGenerator pgen = getParserGenerator();
return pgen.diagnoseAmbiguity(parseTree);
}
finally {
setMonitor(old);
}
}

public IConstructor getExpandedGrammar(IRascalMonitor monitor, ISourceLocation uri) {
IRascalMonitor old = setMonitor(monitor);
try {
Expand Down
2 changes: 1 addition & 1 deletion src/org/rascalmpl/library/lang/java/JavaRunner.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public void testIgnored(Description description) throws Exception {
public ISourceLocation getJUnitClassPath(IConstructor version) {
try {
assert version.getName().equals("junit4");
return vf.sourceLocation(JUnit4.class.getProtectionDomain().getCodeSource().getLocation().toURI());
return vf.sourceLocation(URIUtil.fromURL(JUnit4.class.getProtectionDomain().getCodeSource().getLocation()));
}
catch (URISyntaxException e) {
throw RuntimeExceptionFactory.illegalArgument(vf.string(e.getMessage()));
Expand Down
167 changes: 61 additions & 106 deletions src/org/rascalmpl/parser/ParserGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,15 @@
import org.rascalmpl.debug.IRascalMonitor;
import org.rascalmpl.exceptions.ImplementationError;
import org.rascalmpl.exceptions.Throw;
import org.rascalmpl.ideservices.IDEServices;
import org.rascalmpl.interpreter.Configuration;
import org.rascalmpl.interpreter.Evaluator;
import org.rascalmpl.interpreter.utils.JavaBridge;
import org.rascalmpl.interpreter.utils.Profiler;
import org.rascalmpl.parser.gtd.IGTD;
import org.rascalmpl.shell.ShellEvaluatorFactory;
import org.rascalmpl.runtime.RascalExecutionContext;
import org.rascalmpl.uri.URIResolverRegistry;
import org.rascalmpl.values.IRascalValueFactory;
import org.rascalmpl.values.parsetrees.ITree;
import org.rascalmpl.values.parsetrees.SymbolAdapter;

import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.IInteger;
Expand All @@ -44,51 +43,56 @@
import io.usethesource.vallang.IString;
import io.usethesource.vallang.IValue;
import io.usethesource.vallang.IValueFactory;
import rascal.lang.rascal.grammar.$ConcreteSyntax;
import rascal.lang.rascal.grammar.$ParserGenerator;
import rascal.lang.rascal.grammar.definition.$Keywords;
import rascal.lang.rascal.grammar.definition.$Literals;
import rascal.lang.rascal.grammar.definition.$Modules;
import rascal.lang.rascal.grammar.definition.$Parameters;
import rascal.lang.rascal.grammar.definition.$Priorities;
import rascal.lang.rascal.grammar.definition.$Regular;
import rascal.lang.rascal.grammar.definition.$Symbols;

public class ParserGenerator {
private final Evaluator evaluator;
private final JavaBridge bridge;
private final IValueFactory vf;
private static final String packageName = "org.rascalmpl.test.parser";
private static final boolean debug = false;

private final $ParserGenerator parserGenerator;
private final $ConcreteSyntax concreteSyntax;
private final $Modules modules;
private final $Priorities priorities;
private final $Regular regular;
private final $Keywords keywords;
private final $Literals literals;
private final $Parameters parameters;
private final $Symbols symbols;

private final RascalExecutionContext rex;

public ParserGenerator(IRascalMonitor monitor, PrintWriter out, IValueFactory factory, Configuration config) {
this.evaluator = ShellEvaluatorFactory.getBasicEvaluator(Reader.nullReader(), out, out, monitor, "$parsergenerator$");
this.evaluator.getConfiguration().setGeneratorProfiling(config.getGeneratorProfilingProperty());
this.evaluator.setBootstrapperProperty(true);
rex = new RascalExecutionContext(Reader.nullReader(), out, out, null, monitor instanceof IDEServices ? (IDEServices) monitor : null);
var ms = rex.getModuleStore();
parserGenerator = new $ParserGenerator(rex);
concreteSyntax = ms.getModule($ConcreteSyntax.class);
modules = ms.getModule($Modules.class);
priorities = ms.getModule($Priorities.class);
regular = ms.getModule($Regular.class);
keywords = ms.getModule($Keywords.class);
literals = ms.getModule($Literals.class);
parameters = ms.getModule($Parameters.class);
symbols = ms.getModule($Symbols.class);
this.bridge = new JavaBridge(Collections.singletonList(Evaluator.class.getClassLoader()), factory, config);
this.vf = factory;

evaluator.doImport(monitor,
"lang::rascal::grammar::ParserGenerator",
"lang::rascal::grammar::ConcreteSyntax",
"lang::rascal::grammar::definition::Modules",
"lang::rascal::grammar::definition::Priorities",
"lang::rascal::grammar::definition::Regular",
"lang::rascal::grammar::definition::Keywords",
"lang::rascal::grammar::definition::Literals",
"lang::rascal::grammar::definition::Parameters",
"lang::rascal::grammar::definition::Symbols",
"analysis::grammars::Ambiguity"
);
}

public void setGeneratorProfiling(boolean f) {
evaluator.getConfiguration().setGeneratorProfiling(f);
}

public IValue diagnoseAmbiguity(IConstructor parseForest) {
synchronized(evaluator) {
return evaluator.call("diagnose", parseForest);
}
}

private void debugOutput(String kind, Object thing, String file) {
if (debug) {
String classString = thing.toString();
FileOutputStream s = null;
try {
evaluator.getErrorPrinter().println("\nWriting " + kind + " to " + file);
rex.getErrWriter().println("\nWriting " + kind + " to " + file);

s = new FileOutputStream(file);
s.write(classString.getBytes());
Expand All @@ -109,69 +113,41 @@ private void debugOutput(String kind, Object thing, String file) {
}
}

public IConstructor getGrammarFromModules(IRascalMonitor monitor, String main, IMap modules) {
synchronized(evaluator) {
return (IConstructor) evaluator.call(monitor, "modules2grammar", vf.string(main), modules);
}
public IConstructor getGrammarFromModules(IRascalMonitor monitor, String main, IMap mods) {
return modules.modules2grammar(vf.string(main), mods);
}

public IConstructor getExpandedGrammar(IRascalMonitor monitor, String main, IMap definition) {
synchronized(evaluator) {
IConstructor g = getGrammarFromModules(monitor, main, definition);
g = (IConstructor) evaluator.call(monitor, "expandKeywords", g);
g = (IConstructor) evaluator.call(monitor, "makeRegularStubs", g);
g = (IConstructor) evaluator.call(monitor, "expandRegularSymbols", g);
g = (IConstructor) evaluator.call(monitor, "expandParameterizedSymbols", g);
g = (IConstructor) evaluator.call(monitor, "literals", g);
return g;
}
var g = getGrammarFromModules(monitor, main, definition);
g = keywords.expandKeywords(g);
g = (IConstructor) regular.makeRegularStubs(g);
g = regular.expandRegularSymbols(g);
g = parameters.expandParameterizedSymbols(g);
g = literals.literals(g);

return g;
}

public ISet getNestingRestrictions(IRascalMonitor monitor,
IConstructor g) {
synchronized (evaluator) {
return (ISet) evaluator.call(monitor, "doNotNest", g);
}
public ISet getNestingRestrictions(IRascalMonitor monitor, IConstructor g) {
return priorities.doNotNest(g);
}

/**
* Produces the name generated by the parser generator for a parse method for the given symbol
*/
public String getParserMethodName(IConstructor symbol) {
// we use a fast non-synchronized path for simple cases;
// this is to prevent locking the evaluator in IDE contexts
// where many calls into the evaluator/parser are fired in rapid
// succession.

switch (symbol.getName()) {
case "start":
return "$start_" + getParserMethodName(SymbolAdapter.getStart(symbol));
case "layouts":
return "$l_" + SymbolAdapter.getName(symbol);
case "sort":
return SymbolAdapter.getName(symbol);
case "lex":
return SymbolAdapter.getName(symbol);
case "keywords":
return "$k_" + SymbolAdapter.getName(symbol);
}
Comment thread
DavyLandman marked this conversation as resolved.
Resolved

synchronized (evaluator) {
// TODO we assume here this is a context-free non-terminal for now.
// Later with the syntax role modifiers we can implement parsing for lexical regulars too
Map<String,IValue> kwArgs = Map.of("withLayout", vf.bool(true));
return ((IString) evaluator.call("getParserMethodName", "lang::rascal::grammar::ParserGenerator", kwArgs, symbol)).getValue();
}
// TODO we assume here this is a context-free non-terminal for now.
// Later with the syntax role modifiers we can implement parsing for lexical regulars too
Map<String, IValue> kwArgs = Map.of("withLayout", vf.bool(true));
return parserGenerator.getParserMethodName(symbol, kwArgs).getValue();
}

/**
* Converts the parse tree of a symbol to a UPTR symbol
*/
public IConstructor symbolTreeToSymbol(IConstructor symbol, boolean withLayout) {
synchronized (evaluator) {
Map<String,IValue> kws = Map.of("withLayout", vf.bool(withLayout));
return (IConstructor) evaluator.call("sym2symbol", "lang::rascal::grammar::definition::Symbols", kws, symbol);
}
Map<String, IValue> kwArgs = Map.of("withLayout", vf.bool(withLayout));
return symbols.sym2symbol(symbol, kwArgs);
}

/**
Expand All @@ -184,12 +160,7 @@ public IConstructor symbolTreeToSymbol(IConstructor symbol, boolean withLayout)
* @return A parser class, ready for instantiation
*/
public Class<IGTD<IConstructor, ITree, ISourceLocation>> getNewParser(IRascalMonitor monitor, ISourceLocation loc, String name, IMap definition) {
Profiler profiler = evaluator.getConfiguration().getGeneratorProfilingProperty() ? new Profiler(evaluator) : null;

try {
if (profiler != null) {
profiler.start();
}
IConstructor grammar = IRascalValueFactory.getInstance().grammar(definition);
debugOutput("grammar", grammar, System.getProperty("java.io.tmpdir") + "/grammar.trm");
return getNewParser(monitor, loc, name, grammar);
Expand All @@ -200,14 +171,6 @@ public Class<IGTD<IConstructor, ITree, ISourceLocation>> getNewParser(IRascalMon
catch (Throw e) {
throw new ImplementationError("parser generator: " + e.getMessage() + e.getTrace());
}
finally {
if (profiler != null) {
profiler.pleaseStop();
evaluator.getOutPrinter().println("PROFILE:");
profiler.report();
profiler = null;
}
}
}

/**
Expand All @@ -223,13 +186,10 @@ public Class<IGTD<IConstructor, ITree, ISourceLocation>> getNewParser(IRascalMon
try {
String normName = name.replaceAll("::", "_").replaceAll("\\\\", "_");

IString classString;
synchronized (evaluator) {
classString = (IString) evaluator.call(monitor, "newGenerate", vf.string(packageName), vf.string(normName), grammar);
}
debugOutput("java code", classString.getValue(), "./test/org/rascalmpl/test/parser/" + normName + ".java");
var classString = parserGenerator.newGenerate(vf.string(packageName), vf.string(normName), grammar).getValue();
debugOutput("java code", classString, System.getProperty("java.io.tmpdir") + "/parser.java");

return bridge.compileJava(loc, packageName + "." + normName, classString.getValue());
return bridge.compileJava(loc, packageName + "." + normName, classString);
} catch (ClassCastException e) {
throw new ImplementationError("parser generator:" + e.getMessage(), e);
} catch (Throw e) {
Expand All @@ -250,15 +210,12 @@ public Class<IGTD<IConstructor, ITree, ISourceLocation>> getNewParser(IRascalMon
public void writeNewParser(IRascalMonitor monitor, ISourceLocation loc, String name, IMap definition, ISourceLocation target) throws IOException {
try (OutputStream out = URIResolverRegistry.getInstance().getOutputStream(target, false)) {
String normName = name.replaceAll("::", "_").replaceAll("\\\\", "_");
IString classString;
IConstructor grammar = IRascalValueFactory.getInstance().grammar(definition);

synchronized (evaluator) {
classString = (IString) evaluator.call(monitor, "newGenerate", vf.string(packageName), vf.string(normName), grammar);
}
debugOutput("java code", classString.getValue(), System.getProperty("java.io.tmpdir") + "/parser.java");

bridge.compileJava(loc, packageName + "." + normName, classString.getValue(), out);
var classString = parserGenerator.newGenerate(vf.string(packageName), vf.string(normName), grammar).getValue();
debugOutput("java code", classString, System.getProperty("java.io.tmpdir") + "/parser.java");

bridge.compileJava(loc, packageName + "." + normName, classString, out);
} catch (ClassCastException e) {
throw new ImplementationError("parser generator:" + e.getMessage(), e);
} catch (Throw e) {
Expand All @@ -267,8 +224,6 @@ public void writeNewParser(IRascalMonitor monitor, ISourceLocation loc, String n
}

public IString createHole(IConstructor part, IInteger size) {
synchronized (evaluator) {
return (IString) evaluator.call("createHole", part, size);
}
return concreteSyntax.createHole(part, size);
}
}
Loading
Loading