Jump to navigation

Class: MarkingNote


new MarkingNote(source, scope)

A note forming part of a marking script. Evaluates to a JME value and a list of feedback items.

Name Type Description
source JME
scope Numbas.jme.Scope

The scope to use for normalising names.

Name Type Description
name string
description string
expr Numbas.marking.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.