Interface EmbeddedSass.InboundMessage.CompileRequest.ImporterOrBuilder

    • Method Detail

      • hasPath

        boolean hasPath()
         A built-in importer that loads Sass files within the given directory
         on disk.
         
        string path = 1;
        Returns:
        Whether the path field is set.
      • getPath

        String getPath()
         A built-in importer that loads Sass files within the given directory
         on disk.
         
        string path = 1;
        Returns:
        The path.
      • getPathBytes

        ByteString getPathBytes()
         A built-in importer that loads Sass files within the given directory
         on disk.
         
        string path = 1;
        Returns:
        The bytes for path.
      • hasImporterId

        boolean hasImporterId()
         A unique ID for a user-defined importer. This ID will be included in
         outbound `CanonicalizeRequest` and `ImportRequest` messages to
         indicate which importer is being called. The host is responsible for
         generating this ID and ensuring that it's unique across all
         importers registered for this compilation.
         
        uint32 importer_id = 2;
        Returns:
        Whether the importerId field is set.
      • getImporterId

        int getImporterId()
         A unique ID for a user-defined importer. This ID will be included in
         outbound `CanonicalizeRequest` and `ImportRequest` messages to
         indicate which importer is being called. The host is responsible for
         generating this ID and ensuring that it's unique across all
         importers registered for this compilation.
         
        uint32 importer_id = 2;
        Returns:
        The importerId.
      • hasFileImporterId

        boolean hasFileImporterId()
         A unique ID for a special kind of user-defined importer that tells
         the compiler where to look for files on the physical filesystem, but
         leaves the details of resolving partials and extensions and loading
         the file from disk up to the compiler itself.
         This ID will be included in outbound `FileImportRequest` messages to
         indicate which importer is being called. The host is responsible for
         generating this ID and ensuring that it's unique across all importers
         registered for this compilation.
         
        uint32 file_importer_id = 3;
        Returns:
        Whether the fileImporterId field is set.
      • getFileImporterId

        int getFileImporterId()
         A unique ID for a special kind of user-defined importer that tells
         the compiler where to look for files on the physical filesystem, but
         leaves the details of resolving partials and extensions and loading
         the file from disk up to the compiler itself.
         This ID will be included in outbound `FileImportRequest` messages to
         indicate which importer is being called. The host is responsible for
         generating this ID and ensuring that it's unique across all importers
         registered for this compilation.
         
        uint32 file_importer_id = 3;
        Returns:
        The fileImporterId.