Nokome Bentley1 min read

Code Static

Abstract base type for non-executable code nodes (e.g. `CodeBlock`).

The most important, and only required, property of a CodeStatic node is code, a string of the source code. There are no restrictions on the length or content of code and it is possible for it to be syntactically invalid for the specified programmingLanguage.

Properties

The CodeStatic type has these properties:

Name Description Type Inherited from JSON-LD @id Aliases
id The identifier for this item. String Entity schema:id -
code The code. Cord - stencila:code -
programmingLanguage The programming language of the code. String - schema:programmingLanguage programming-language, programming_language
authors The authors of the code. Author* - schema:author author
provenance A summary of the provenance of the code. ProvenanceCount* - stencila:provenance -

Related

The CodeStatic type is related to these types:

Bindings

The CodeStatic type is represented in:

Source

This documentation was generated from CodeStatic.yaml by docs_types.rs.