Class AbstractDeclaredStatement<A>

    • Constructor Detail

      • AbstractDeclaredStatement

        protected AbstractDeclaredStatement​(StmtContext<A,​?,​?> context)
    • Method Detail

      • rawArgument

        public String rawArgument()
        Description copied from interface: DeclaredStatement
        Returns statement argument as was present in original source.
        Specified by:
        rawArgument in interface DeclaredStatement<A>
        Returns:
        statement argument as was present in original source or null, if statement does not take argument.
      • argument

        public A argument()
        Description copied from interface: ModelStatement
        Returns statement argument.
        Specified by:
        argument in interface ModelStatement<A>
        Returns:
        statement argument or null if statement does not have argument.
      • declaredSubstatements

        public Collection<? extends DeclaredStatement<?>> declaredSubstatements()
        Description copied from interface: DeclaredStatement
        Returns collection of explicitly declared child statements, while preserving its original ordering from original source.
        Specified by:
        declaredSubstatements in interface DeclaredStatement<A>
        Returns:
        Collection of statements, which were explicitly declared in source of model.
      • getStatementSource

        public StatementSource getStatementSource()
        Description copied from interface: ModelStatement
        Returns statement source, which denotes if statement was explicitly declared in original model or inferred during semantic processing of model.
        Specified by:
        getStatementSource in interface ModelStatement<A>
        Returns:
        statement source.