Interface Fmi2Builder.ScopeElement<T>

    • Method Detail

      • getDeclaration

        T getDeclaration()
        The declaration node that defined the underlying scope
        Returns:
        the scope
      • findParent

        <P extends Fmi2Builder.ScopeElement<T>> P findParent​(Class<P> clz)
        Find a prent element of a specific type
        Type Parameters:
        P - the type of class
        Parameters:
        clz - the class type to search for
        Returns:
        the parent of the specified type or null