Skip to content

Commit d6ebe2d

Browse files
committed
Format python language registration.
1 parent 2d56d4b commit d6ebe2d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/PythonLanguage.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,14 @@
9191

9292
import org.graalvm.options.OptionDescriptors;
9393

94-
@TruffleLanguage.Registration(id = PythonLanguage.ID, name = PythonLanguage.NAME, version = PythonLanguage.VERSION, characterMimeTypes = PythonLanguage.MIME_TYPE, dependentLanguages = "llvm", interactive = true, internal = false, contextPolicy = TruffleLanguage.ContextPolicy.SHARED, fileTypeDetectors = PythonFileDetector.class)
94+
@TruffleLanguage.Registration(id = PythonLanguage.ID, //
95+
name = PythonLanguage.NAME, //
96+
version = PythonLanguage.VERSION, //
97+
characterMimeTypes = PythonLanguage.MIME_TYPE, //
98+
dependentLanguages = "llvm", //
99+
interactive = true, internal = false, //
100+
contextPolicy = TruffleLanguage.ContextPolicy.SHARED, //
101+
fileTypeDetectors = PythonFileDetector.class)
95102
@ProvidedTags({StandardTags.CallTag.class, StandardTags.StatementTag.class, StandardTags.RootTag.class, StandardTags.TryBlockTag.class, StandardTags.ExpressionTag.class,
96103
DebuggerTags.AlwaysHalt.class})
97104
public final class PythonLanguage extends TruffleLanguage<PythonContext> {

0 commit comments

Comments
 (0)