Namespace org.accordproject.commonmark@0.5.0

Compatible with Concerto versions ^3.0.0. Has 29 declarations.

Concerto JSON AST UML JSON Schema XML Schema GraphQL TypeScript CSharp Java Go OData

Declared Types

      
      import org.accordproject.commonmark@0.5.0.Node from /markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Root from /markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Child from /markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Text from /markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Attribute from /markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.TagInfo from /markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.CodeBlock from /markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Code from /markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.HtmlInline from /markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.HtmlBlock from /markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Emph from /markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Strong from /markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.BlockQuote from /markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Heading from /markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.ThematicBreak from /markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Softbreak from /markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Linebreak from /markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Link from /markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Image from /markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Paragraph from /markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.List from /markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Item from /markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Document from /markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Table from /markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.TableHead from /markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.TableBody from /markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.TableRow from /markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.HeaderCell from /markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.TableCell from /markdown/commonmark@0.5.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.
 */
concerto version "^3.0.0"
namespace org.accordproject.commonmark@0.5.0

/**
 * 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{
}