| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | |
| pack-priv abstract static class |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| LanguageProviderSnippets | back to summary |
|---|---|
| pack-priv LanguageProviderSnippets() | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Collection | createExpressions(Context
the context for a guest language code literal evaluation context)Implements org. Creates a collection of functions representing language expressions to test. |
| public Value | createIdentityFunction(Context
the context for a guest language code literal evaluation context)Implements org. Creates an identity function. |
| public Collection | createInlineScripts(Context
the context for a guest language code literal evaluation context)Overrides default org. Creates a collection of inline code snippets. |
| public Collection | createInvalidSyntaxScripts(Context
the context for a guest language code literal evaluation ctx)Implements org. Creates a collection of scripts containing a syntax error. |
| public Collection | createScripts(Context
the context for a guest language code literal evaluation context)Implements org. Creates a collection of simple scripts used for instrumentation testing. |
| public Collection | createStatements(Context
the context for a guest language code literal evaluation context)Implements org. Creates a collection of functions representing language statements to test. |
| public Collection | createValueConstructors(Context
the context for a guest language code literal evaluation context)Implements org. Creates a collection of functions creating language data types. |
| public String | getId()
Implements org. Returns an identification of a provider. |
| JsSnippets | back to summary |
|---|---|
| pack-priv JsSnippets() | |
| createExpressions | back to summary |
|---|---|
| public Collection Implements org. Doc from org. Creates a collection of functions representing language expressions to test. For each
language operator create a function performing given operator and assign a correct
The JavaScript sample implementation creating a plus operator: LanguageProviderSnippets#JsSnippets#createExpressions
The R sample implementation creating a plus operator: LanguageProviderSnippets#RSnippets#createExpressions
| |
| createIdentityFunction | back to summary |
|---|---|
| public Value createIdentityFunction(Context context) Implements org. Doc from org. Creates an identity function. The identity function just returns its argument. The JavaScript sample implementation: LanguageProviderSnippets#JsSnippets#createIdentityFunction
The R sample implementation: LanguageProviderSnippets#RSnippets#createIdentityFunction
| |
| createInlineScripts | back to summary |
|---|---|
| public Collection Overrides default org. Doc from org. Creates a collection of inline code snippets.
This method is optional, it should be implemented if
The JavaScript sample implementation creating inline code snippets: LanguageProviderSnippets#JsSnippets#createInlineScripts
| |
| createInvalidSyntaxScripts | back to summary |
|---|---|
| public Collection Implements org. Doc from org. Creates a collection of scripts containing a syntax error. The JavaScript sample implementation: LanguageProviderSnippets#JsSnippets#createInvalidSyntaxScripts
| |
| createScripts | back to summary |
|---|---|
| public Collection Implements org. Doc from org. Creates a collection of simple scripts used for instrumentation testing. Each script is
represented as a function performing the script. The function must have no formal parameters
but may return a result which can be asserted by The JavaScript sample implementation: LanguageProviderSnippets#JsSnippets#createScripts
| |
| createStatements | back to summary |
|---|---|
| public Collection Implements org. Doc from org. Creates a collection of functions representing language statements to test. For each control
flow statement create a function performing given statement and assign a correct
The JavaScript sample implementation creating the LanguageProviderSnippets#JsSnippets#createStatements
The R sample implementation creating the LanguageProviderSnippets#RSnippets#createStatements
| |
| createValueConstructors | back to summary |
|---|---|
| public Collection Implements org. Doc from org. Creates a collection of functions creating language data types. For each language data type
create a function returning a value of given type and assign a correct The JavaScript sample implementation creating a boolean type: LanguageProviderSnippets#JsSnippets#createValueConstructors
The R sample implementation creating a boolean type: LanguageProviderSnippets#RSnippets#createValueConstructors
| |
| getId | back to summary |
|---|---|
| public String getId() Implements org. Doc from org. Returns an identification of a provider. The common pattern is to use the identification of the tested language. | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Collection | createExpressions(Context
the context for a guest language code literal evaluation context)Implements org. Creates a collection of functions representing language expressions to test. |
| public Value | createIdentityFunction(Context
the context for a guest language code literal evaluation context)Implements org. Creates an identity function. |
| public Collection | createInvalidSyntaxScripts(Context
the context for a guest language code literal evaluation context)Implements org. Creates a collection of scripts containing a syntax error. |
| public Collection | createScripts(Context
the context for a guest language code literal evaluation context)Implements org. Creates a collection of simple scripts used for instrumentation testing. |
| public Collection | createStatements(Context
the context for a guest language code literal evaluation context)Implements org. Creates a collection of functions representing language statements to test. |
| public Collection | createValueConstructors(Context
the context for a guest language code literal evaluation context)Implements org. Creates a collection of functions creating language data types. |
| public String | getId()
Implements org. Returns an identification of a provider. |
| RSnippets | back to summary |
|---|---|
| pack-priv RSnippets() | |
| createExpressions | back to summary |
|---|---|
| public Collection Implements org. Doc from org. Creates a collection of functions representing language expressions to test. For each
language operator create a function performing given operator and assign a correct
The JavaScript sample implementation creating a plus operator: LanguageProviderSnippets#JsSnippets#createExpressions
The R sample implementation creating a plus operator: LanguageProviderSnippets#RSnippets#createExpressions
| |
| createIdentityFunction | back to summary |
|---|---|
| public Value createIdentityFunction(Context context) Implements org. Doc from org. Creates an identity function. The identity function just returns its argument. The JavaScript sample implementation: LanguageProviderSnippets#JsSnippets#createIdentityFunction
The R sample implementation: LanguageProviderSnippets#RSnippets#createIdentityFunction
| |
| createInvalidSyntaxScripts | back to summary |
|---|---|
| public Collection Implements org. Doc from org. Creates a collection of scripts containing a syntax error. The JavaScript sample implementation: LanguageProviderSnippets#JsSnippets#createInvalidSyntaxScripts
| |
| createScripts | back to summary |
|---|---|
| public Collection Implements org. Doc from org. Creates a collection of simple scripts used for instrumentation testing. Each script is
represented as a function performing the script. The function must have no formal parameters
but may return a result which can be asserted by The JavaScript sample implementation: LanguageProviderSnippets#JsSnippets#createScripts
| |
| createStatements | back to summary |
|---|---|
| public Collection Implements org. Doc from org. Creates a collection of functions representing language statements to test. For each control
flow statement create a function performing given statement and assign a correct
The JavaScript sample implementation creating the LanguageProviderSnippets#JsSnippets#createStatements
The R sample implementation creating the LanguageProviderSnippets#RSnippets#createStatements
| |
| createValueConstructors | back to summary |
|---|---|
| public Collection Implements org. Doc from org. Creates a collection of functions creating language data types. For each language data type
create a function returning a value of given type and assign a correct The JavaScript sample implementation creating a boolean type: LanguageProviderSnippets#JsSnippets#createValueConstructors
The R sample implementation creating a boolean type: LanguageProviderSnippets#RSnippets#createValueConstructors
| |
| getId | back to summary |
|---|---|
| public String getId() Implements org. Doc from org. Returns an identification of a provider. The common pattern is to use the identification of the tested language. | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Collection | createValueConstructors(Context
the context for a guest language code literal evaluation context)Implements org. Creates a collection of functions creating language data types. |
| TypeDescriptorSnippets | back to summary |
|---|---|
| pack-priv TypeDescriptorSnippets() | |
| createValueConstructors | back to summary |
|---|---|
| public Collection Implements org. Doc from org. Creates a collection of functions creating language data types. For each language data type
create a function returning a value of given type and assign a correct The JavaScript sample implementation creating a boolean type: LanguageProviderSnippets#JsSnippets#createValueConstructors
The R sample implementation creating a boolean type: LanguageProviderSnippets#RSnippets#createValueConstructors
| |