references — References module

This module contains the base class for referencing rules and grammars by name.

Classes

class jsgf.references.BaseRef(name)

Base class for JSGF rule and grammar references.

name

The referenced name.

Returns:str
static valid(name)

Static method for checking if a reference name is valid.

This should be overwritten appropriately in subclasses.

Parameters:name – str
Returns:bool