Jump to navigation

Class: ScriptNote

Numbas.jme.variables.ScriptNote

new ScriptNote(source, scope)

A note forming part of a notes script.

Parameters:
Name Type Description
source JME
scope Numbas.jme.Scope

The scope to use for normalising names.

Properties:
Name Type Description
name string
description string
expr Numbas.jme.variables.note_definition

The JME expression to evaluate to compute this note.

tree Numbas.jme.tree

The compiled form of the expression.

vars Array.<string>

The names of the variables this note depends on.

Source: