making script classes useful/accessable for the rest of the world
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
JetFile: ComplexScript.ktscript
|
||||
NAMESPACE_HEADER
|
||||
<empty list>
|
||||
SCRIPT
|
||||
BLOCK
|
||||
FUN
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
JetFile: Import.ktscript
|
||||
NAMESPACE_HEADER
|
||||
<empty list>
|
||||
SCRIPT
|
||||
IMPORT_DIRECTIVE
|
||||
PsiElement(import)('import')
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
JetFile: Shebang.ktscript
|
||||
PsiComment(SHEBANG_COMMENT)('#!/usr/bin/env kotlin')
|
||||
PsiWhiteSpace('\n\n')
|
||||
NAMESPACE_HEADER
|
||||
<empty list>
|
||||
SCRIPT
|
||||
BLOCK
|
||||
CALL_EXPRESSION
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
JetFile: ShebangIncorrect.ktscript
|
||||
NAMESPACE_HEADER
|
||||
<empty list>
|
||||
SCRIPT
|
||||
BLOCK
|
||||
CALL_EXPRESSION
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
JetFile: SimpleScript.ktscript
|
||||
NAMESPACE_HEADER
|
||||
<empty list>
|
||||
SCRIPT
|
||||
BLOCK
|
||||
CALL_EXPRESSION
|
||||
|
||||
Reference in New Issue
Block a user