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 Detail

      • 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