The Script
node represents the root of an ActionScript 2 file.
Syntax
Script :
TRIVIA? ScriptItemList TRIVIA?ScriptItemList :
{
ScriptItem
| ScriptItem ScriptItemList
}ScriptItem :
{
Directive
| Statement
| Declaration
}
Syntax
Directive :
{
IncludeDirective
| InitDirective
}
Compile-time textual inclusion of a file content.
Syntax
IncludeDirective :
#include
TRIVIA StringLiteral TRIVIA?\n
#include "lib.as"
Block of initialization actions.
Syntax
InitDirective :
#initclip
TRIVIA StringLiteral TRIVIA?\n
#endinitclip
TRIVIA StringLiteral TRIVIA?\n