Namespace org.accordproject.ciceromark0.3.3

Compatible with Concerto versions . Has 10 declarations.

Concerto JSON AST PlantUML XML Schema Typescript C# OData JSON Schema GraphQL Java Go Avro Markdown OpenAPI Protobuf Mermaid

Declared Types

      import org.accordproject.ciceromark.Element from /markdown/ciceromark@0.3.3.cto
      import org.accordproject.ciceromark.Variable from /markdown/ciceromark@0.3.3.cto
      import org.accordproject.ciceromark.FormattedVariable from /markdown/ciceromark@0.3.3.cto
      import org.accordproject.ciceromark.EnumVariable from /markdown/ciceromark@0.3.3.cto
      import org.accordproject.ciceromark.Formula from /markdown/ciceromark@0.3.3.cto
      import org.accordproject.ciceromark.Block from /markdown/ciceromark@0.3.3.cto
      import org.accordproject.ciceromark.Clause from /markdown/ciceromark@0.3.3.cto
      import org.accordproject.ciceromark.Conditional from /markdown/ciceromark@0.3.3.cto
      import org.accordproject.ciceromark.Optional from /markdown/ciceromark@0.3.3.cto
      import org.accordproject.ciceromark.ListBlock from /markdown/ciceromark@0.3.3.cto



 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * See the License for the specific language governing permissions and
 * limitations under the License.

namespace org.accordproject.ciceromark

import org.accordproject.commonmark.Child from
import concerto.metamodel.Decorator from

 * A model for Accord Project extensions to commonmark

abstract concept Element extends Child {
  o String name
  o String elementType optional
  o Decorator[] decorators optional

concept Variable extends Element {
  o String value
  o String identifiedBy optional

concept FormattedVariable extends Variable {
  o String format

concept EnumVariable extends Variable {
  o String[] enumValues

concept Formula extends Element {
  o String value
  o String[] dependencies optional
  o String code optional

abstract concept Block extends Element {

concept Clause extends Block {
  o String src optional

concept Conditional extends Block {
  o Boolean isTrue
  o Child[] whenTrue
  o Child[] whenFalse

concept Optional extends Block {
  o Boolean hasSome
  o Child[] whenSome
  o Child[] whenNone

concept ListBlock extends Block {
    o String type
    o String tight
    o String start optional
    o String delimiter optional