Namespace org.accordproject.commonmark0.4.0

Compatible with Concerto versions . Has 29 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.commonmark.Node from https://models.accordproject.org/markdown/commonmark@0.4.0.cto
      import org.accordproject.commonmark.Root from https://models.accordproject.org/markdown/commonmark@0.4.0.cto
      import org.accordproject.commonmark.Child from https://models.accordproject.org/markdown/commonmark@0.4.0.cto
      import org.accordproject.commonmark.Text from https://models.accordproject.org/markdown/commonmark@0.4.0.cto
      import org.accordproject.commonmark.Attribute from https://models.accordproject.org/markdown/commonmark@0.4.0.cto
      import org.accordproject.commonmark.TagInfo from https://models.accordproject.org/markdown/commonmark@0.4.0.cto
      import org.accordproject.commonmark.CodeBlock from https://models.accordproject.org/markdown/commonmark@0.4.0.cto
      import org.accordproject.commonmark.Code from https://models.accordproject.org/markdown/commonmark@0.4.0.cto
      import org.accordproject.commonmark.HtmlInline from https://models.accordproject.org/markdown/commonmark@0.4.0.cto
      import org.accordproject.commonmark.HtmlBlock from https://models.accordproject.org/markdown/commonmark@0.4.0.cto
      import org.accordproject.commonmark.Emph from https://models.accordproject.org/markdown/commonmark@0.4.0.cto
      import org.accordproject.commonmark.Strong from https://models.accordproject.org/markdown/commonmark@0.4.0.cto
      import org.accordproject.commonmark.BlockQuote from https://models.accordproject.org/markdown/commonmark@0.4.0.cto
      import org.accordproject.commonmark.Heading from https://models.accordproject.org/markdown/commonmark@0.4.0.cto
      import org.accordproject.commonmark.ThematicBreak from https://models.accordproject.org/markdown/commonmark@0.4.0.cto
      import org.accordproject.commonmark.Softbreak from https://models.accordproject.org/markdown/commonmark@0.4.0.cto
      import org.accordproject.commonmark.Linebreak from https://models.accordproject.org/markdown/commonmark@0.4.0.cto
      import org.accordproject.commonmark.Link from https://models.accordproject.org/markdown/commonmark@0.4.0.cto
      import org.accordproject.commonmark.Image from https://models.accordproject.org/markdown/commonmark@0.4.0.cto
      import org.accordproject.commonmark.Paragraph from https://models.accordproject.org/markdown/commonmark@0.4.0.cto
      import org.accordproject.commonmark.List from https://models.accordproject.org/markdown/commonmark@0.4.0.cto
      import org.accordproject.commonmark.Item from https://models.accordproject.org/markdown/commonmark@0.4.0.cto
      import org.accordproject.commonmark.Document from https://models.accordproject.org/markdown/commonmark@0.4.0.cto
      import org.accordproject.commonmark.Table from https://models.accordproject.org/markdown/commonmark@0.4.0.cto
      import org.accordproject.commonmark.TableHead from https://models.accordproject.org/markdown/commonmark@0.4.0.cto
      import org.accordproject.commonmark.TableBody from https://models.accordproject.org/markdown/commonmark@0.4.0.cto
      import org.accordproject.commonmark.TableRow from https://models.accordproject.org/markdown/commonmark@0.4.0.cto
      import org.accordproject.commonmark.HeaderCell from https://models.accordproject.org/markdown/commonmark@0.4.0.cto
      import org.accordproject.commonmark.TableCell from https://models.accordproject.org/markdown/commonmark@0.4.0.cto
      
      

Dependencies

  • None

Source

    /*
 * 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
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

namespace org.accordproject.commonmark

/**
 * A model for a commonmark format markdown file
 */

abstract concept Node {
    o String text optional
    o Node[] nodes optional
    o Integer startLine optional
    o Integer endLine optional
}

abstract concept Root extends Node {
}

abstract concept Child extends Node {
}

concept Text extends Child {
}

concept Attribute {
    o String name
    o String value
}
concept TagInfo {
    o String tagName
    o String attributeString
    o Attribute[] attributes
    o String content
    o Boolean closed
}

concept CodeBlock extends Child {
    o String info optional
    o TagInfo tag optional
}

concept Code extends Child {
    o String info optional
}

concept HtmlInline extends Child {
    o TagInfo tag optional
}

concept HtmlBlock extends Child {
    o TagInfo tag optional
}

concept Emph extends Child {
}

concept Strong extends Child {
}

concept BlockQuote extends Child {
}

concept Heading extends Child {
    o String level
}

concept ThematicBreak extends Child {
}

concept Softbreak extends Child {
}

concept Linebreak extends Child {
}

concept Link extends Child {
    o String destination
    o String title
}

concept Image extends Child {
    o String destination
    o String title
}

concept Paragraph extends Child {
}

concept List extends Child {
    o String type
    o String start optional
    o String tight
    o String delimiter optional
}

concept Item extends Child {
}

concept Document extends Root {
    o String xmlns
}

concept Table extends Child{  
}

concept TableHead extends Child{
}

concept TableBody extends Child{
}

concept TableRow extends Child{
} 

concept HeaderCell extends Child{
}

concept TableCell extends Child{
}