Interface DslGrammar

All Known Implementing Classes:
DomainGrammar
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface DslGrammar
Une grammaire est composée d'entités et de propriétés. Les entités sont une composition d'entités et de propriétés. Il est possible de composer une grammaire à partir de grammaires.
Author:
pchretien, mlaroche
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the list of entities
    default List<DslRaw>
    Examples : a grammar is defined from atoms (string...)
  • Method Details

    • getEntities

      List<DslEntity> getEntities()
      Returns the list of entities
      Returns:
      List of entities.
    • getRootRaws

      default List<DslRaw> getRootRaws()
      Examples : a grammar is defined from atoms (string...)
      Returns:
      the list of primitives/ root definitions