finesse.script.spec.BaseSpec

Overview

class finesse.script.spec.BaseSpec[source]

Bases: object

Empty language specification.

Properties

BaseSpec.directives

All top level parser directives.

BaseSpec.reserved_names

All reserved names.

Methods

BaseSpec.__init__()

BaseSpec.adapter_by_setter(setter)

Get adapter given its Python setter.

BaseSpec.match_fuzzy_directive(search[, ...])

Get the directives that most closely match the specified string.

BaseSpec.register_analysis(*args, **kwargs)

Add parser and generator support for an analysis.

BaseSpec.register_command(*args, **kwargs)

Add parser and generator support for a command.

BaseSpec.register_element(*args, **kwargs)

Add parser and generator support for a model element such as a component or detector.