Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/bep/godartsass
/ types & classes
Types & classes
125 in github.com/bep/godartsass
⨍
Functions
506
◇
Types & classes
125
↓ 2 callers
TypeAlias
LogEventType
LogEvent is a type of log event from Dart Sass.
options.go:43
↓ 2 callers
TypeAlias
Syntax
Possible syntaxes for a Sass stylesheet.
internal/embeddedsass/embedded_sass.pb.go:86
↓ 1 callers
TypeAlias
OutputStyle
OutputStyle defines the style of the generated CSS.
options.go:205
↓ 1 callers
TypeAlias
OutputStyle
Possible ways to format the CSS output. The compiler is not required to support all possible options; if the host requests an unsupported style, the c
internal/embeddedsass/embedded_sass.pb.go:36
↓ 1 callers
TypeAlias
SourceSyntax
SourceSyntax defines the syntax of the source passed in Execute.
options.go:208
Struct
Args
Args holds the arguments to Execute.
options.go:111
TypeAlias
CalculationOperator
An operator used in a calculation value's operation.
internal/embeddedsass/embedded_sass.pb.go:365
Struct
DartSassVersion
transpiler.go:102
Struct
Import
options.go:102
Interface
ImportResolver
ImportResolver allows custom import resolution. CanonicalizeURL should create a canonical version of the given URL if it's able to resolve it, else r
options.go:97
Struct
InboundMessage
The wrapper type for all messages sent from the host to the compiler. This provides a `oneof` that makes it possible to determine the type of each inb
internal/embeddedsass/embedded_sass.pb.go:424
Struct
InboundMessage_CanonicalizeResponse
A response indicating the result of canonicalizing an imported URL.
internal/embeddedsass/embedded_sass.pb.go:1437
Struct
InboundMessage_CanonicalizeResponse_
internal/embeddedsass/embedded_sass.pb.go:529
Struct
InboundMessage_CanonicalizeResponse_Error
internal/embeddedsass/embedded_sass.pb.go:1541
Struct
InboundMessage_CanonicalizeResponse_Url
internal/embeddedsass/embedded_sass.pb.go:1531
Struct
InboundMessage_CompileRequest
A request that compiles an entrypoint to CSS.
internal/embeddedsass/embedded_sass.pb.go:1210
Struct
InboundMessage_CompileRequest_
internal/embeddedsass/embedded_sass.pb.go:525
Struct
InboundMessage_CompileRequest_Importer
A wrapper message that represents either a user-defined importer or a load path on disk. This must be a wrapper because `oneof` types can't be `repeat
internal/embeddedsass/embedded_sass.pb.go:1956
Struct
InboundMessage_CompileRequest_Importer_FileImporterId
internal/embeddedsass/embedded_sass.pb.go:2070
Struct
InboundMessage_CompileRequest_Importer_ImporterId
internal/embeddedsass/embedded_sass.pb.go:2061
Struct
InboundMessage_CompileRequest_Importer_NodePackageImporter
internal/embeddedsass/embedded_sass.pb.go:2083
Struct
InboundMessage_CompileRequest_Importer_Path
internal/embeddedsass/embedded_sass.pb.go:2055
Struct
InboundMessage_CompileRequest_Path
internal/embeddedsass/embedded_sass.pb.go:1427
Struct
InboundMessage_CompileRequest_StringInput
An input stylesheet provided as plain text, rather than loaded from the filesystem.
internal/embeddedsass/embedded_sass.pb.go:1877
Struct
InboundMessage_CompileRequest_String_
internal/embeddedsass/embedded_sass.pb.go:1422
Struct
InboundMessage_FileImportResponse
A response indicating the result of redirecting a URL to the filesystem.
internal/embeddedsass/embedded_sass.pb.go:1649
Struct
InboundMessage_FileImportResponse_
internal/embeddedsass/embedded_sass.pb.go:537
Struct
InboundMessage_FileImportResponse_Error
internal/embeddedsass/embedded_sass.pb.go:1761
Struct
InboundMessage_FileImportResponse_FileUrl
internal/embeddedsass/embedded_sass.pb.go:1743
Struct
InboundMessage_FunctionCallResponse
A response indicating the result of calling a custom Sass function defined in the host.
internal/embeddedsass/embedded_sass.pb.go:1772
Struct
InboundMessage_FunctionCallResponse_
internal/embeddedsass/embedded_sass.pb.go:541
Struct
InboundMessage_FunctionCallResponse_Error
internal/embeddedsass/embedded_sass.pb.go:1866
Struct
InboundMessage_FunctionCallResponse_Success
internal/embeddedsass/embedded_sass.pb.go:1861
Struct
InboundMessage_ImportResponse
A response indicating the result of importing a canonical URL.
internal/embeddedsass/embedded_sass.pb.go:1555
Struct
InboundMessage_ImportResponse_
internal/embeddedsass/embedded_sass.pb.go:533
Struct
InboundMessage_ImportResponse_Error
internal/embeddedsass/embedded_sass.pb.go:1639
Struct
InboundMessage_ImportResponse_ImportSuccess
The stylesheet's contents were loaded successfully.
internal/embeddedsass/embedded_sass.pb.go:2105
Struct
InboundMessage_ImportResponse_Success
internal/embeddedsass/embedded_sass.pb.go:1634
Struct
InboundMessage_VersionRequest
A request for information about the version of the embedded compiler. The host can use this to provide diagnostic information to the user, to check wh
internal/embeddedsass/embedded_sass.pb.go:1163
Struct
InboundMessage_VersionRequest_
internal/embeddedsass/embedded_sass.pb.go:545
TypeAlias
ListSeparator
Different types of separators a list can have.
internal/embeddedsass/embedded_sass.pb.go:251
Struct
LogEvent
options.go:56
TypeAlias
LogEventType
The possible types of [LogEvent].
internal/embeddedsass/embedded_sass.pb.go:139
Struct
NodePackageImporter
The built-in Node.js Package Importer, which is a Package Importer that resolves using the standards and conventions of the Node.js ecosystem. It enab
internal/embeddedsass/embedded_sass.pb.go:1109
Struct
Options
Options configures a Transpiler.
options.go:19
Struct
OutboundMessage
The wrapper type for all messages sent from the compiler to the host. This provides a `oneof` that makes it possible to determine the type of each out
internal/embeddedsass/embedded_sass.pb.go:564
Struct
OutboundMessage_CanonicalizeRequest
A request for a custom importer to convert an imported URL to its canonical format. If the URL is not recognized by this importer, or if no styleshee
internal/embeddedsass/embedded_sass.pb.go:2520
Struct
OutboundMessage_CanonicalizeRequest_
internal/embeddedsass/embedded_sass.pb.go:693
Struct
OutboundMessage_CompileResponse
A response that contains the result of a compilation.
internal/embeddedsass/embedded_sass.pb.go:2264
Struct
OutboundMessage_CompileResponse_
internal/embeddedsass/embedded_sass.pb.go:685
Struct
OutboundMessage_CompileResponse_CompileFailure
A message indicating that the Sass file could not be successfully compiled to CSS.
internal/embeddedsass/embedded_sass.pb.go:3015
Struct
OutboundMessage_CompileResponse_CompileSuccess
A message indicating that the Sass file was successfully compiled to CSS.
internal/embeddedsass/embedded_sass.pb.go:2953
Struct
OutboundMessage_CompileResponse_Failure
internal/embeddedsass/embedded_sass.pb.go:2352
Struct
OutboundMessage_CompileResponse_Success
internal/embeddedsass/embedded_sass.pb.go:2347
Struct
OutboundMessage_Error
internal/embeddedsass/embedded_sass.pb.go:681
Struct
OutboundMessage_FileImportRequest
A request for a custom filesystem importer to load the contents of a stylesheet. A filesystem importer is represented in the compiler as an [importer
internal/embeddedsass/embedded_sass.pb.go:2745
Struct
OutboundMessage_FileImportRequest_
internal/embeddedsass/embedded_sass.pb.go:701
Struct
OutboundMessage_FunctionCallRequest
A request to invoke a custom Sass function and return its result.
internal/embeddedsass/embedded_sass.pb.go:2838
Struct
OutboundMessage_FunctionCallRequest_
internal/embeddedsass/embedded_sass.pb.go:705
Struct
OutboundMessage_FunctionCallRequest_FunctionId
internal/embeddedsass/embedded_sass.pb.go:2939
Struct
OutboundMessage_FunctionCallRequest_Name
internal/embeddedsass/embedded_sass.pb.go:2930
Struct
OutboundMessage_ImportRequest
A request for a custom importer to load the contents of a stylesheet.
internal/embeddedsass/embedded_sass.pb.go:2628
Struct
OutboundMessage_ImportRequest_
internal/embeddedsass/embedded_sass.pb.go:697
Struct
OutboundMessage_LogEvent
An event indicating that a message should be displayed to the user.
internal/embeddedsass/embedded_sass.pb.go:2362
Struct
OutboundMessage_LogEvent_
internal/embeddedsass/embedded_sass.pb.go:689
Struct
OutboundMessage_VersionResponse
A response that contains the version of the embedded compiler.
internal/embeddedsass/embedded_sass.pb.go:2178
Struct
OutboundMessage_VersionResponse_
internal/embeddedsass/embedded_sass.pb.go:709
TypeAlias
PanicWhen
internal/godartsasstesting/settings.go:23
Struct
ProtocolError
An error reported when an endpoint violates the embedded Sass protocol.
internal/embeddedsass/embedded_sass.pb.go:730
TypeAlias
ProtocolErrorType
Potential types of protocol errors.
internal/embeddedsass/embedded_sass.pb.go:196
Struct
Result
Result holds the result returned from Execute.
transpiler.go:143
Struct
SassError
SassError is the error returned from Execute on compile errors.
transpiler.go:149
TypeAlias
SingletonValue
Singleton SassScript values that have no internal state.
internal/embeddedsass/embedded_sass.pb.go:312
Struct
SourceSpan
A chunk of a source file.
internal/embeddedsass/embedded_sass.pb.go:796
Struct
SourceSpan_SourceLocation
A single point in a source file.
internal/embeddedsass/embedded_sass.pb.go:3095
Struct
Transpiler
Transpiler controls transpiling of SCSS into CSS.
transpiler.go:111
Struct
Value
A SassScript value, passed to and returned by functions.
internal/embeddedsass/embedded_sass.pb.go:895
Struct
Value_ArgumentList
A SassScript argument list value. This represents rest arguments passed to a function's `$arg...` parameter. Unlike a normal `List`, an argument list
internal/embeddedsass/embedded_sass.pb.go:3686
Struct
Value_ArgumentList_
internal/embeddedsass/embedded_sass.pb.go:1067
Struct
Value_Calculation
A SassScript calculation value. The compiler must send fully [simplified] calculations, meaning that simplifying it again will produce the same calcul
internal/embeddedsass/embedded_sass.pb.go:3782
Struct
Value_Calculation_
internal/embeddedsass/embedded_sass.pb.go:1071
Struct
Value_Calculation_CalculationOperation
A binary operation that appears in a calculation.
internal/embeddedsass/embedded_sass.pb.go:4030
Struct
Value_Calculation_CalculationValue
A single component of a calculation expression.
internal/embeddedsass/embedded_sass.pb.go:3897
Struct
Value_Calculation_CalculationValue_Calculation
internal/embeddedsass/embedded_sass.pb.go:4014
Struct
Value_Calculation_CalculationValue_Interpolation
internal/embeddedsass/embedded_sass.pb.go:3999
Struct
Value_Calculation_CalculationValue_Number
internal/embeddedsass/embedded_sass.pb.go:3990
Struct
Value_Calculation_CalculationValue_Operation
internal/embeddedsass/embedded_sass.pb.go:4010
Struct
Value_Calculation_CalculationValue_String_
internal/embeddedsass/embedded_sass.pb.go:3994
Struct
Value_Color
A SassScript color value.
internal/embeddedsass/embedded_sass.pb.go:3288
Struct
Value_Color_
internal/embeddedsass/embedded_sass.pb.go:1079
Struct
Value_CompilerFunction
A first-class function defined in the compiler. New `CompilerFunction`s may only be created by the compiler, but the host may pass `CompilerFunction`s
internal/embeddedsass/embedded_sass.pb.go:3499
Struct
Value_CompilerFunction_
internal/embeddedsass/embedded_sass.pb.go:1059
Struct
Value_CompilerMixin
A first-class mixin defined in the compiler. New `CompilerMixin`s may only be created by the compiler, but the host may pass `CompilerMixin`s back to
internal/embeddedsass/embedded_sass.pb.go:3625
Struct
Value_CompilerMixin_
internal/embeddedsass/embedded_sass.pb.go:1075
Struct
Value_HostFunction
An anonymous custom function defined in the host. New `HostFunction`s may only be created by the host, and `HostFunction`s may *never* be passed from
internal/embeddedsass/embedded_sass.pb.go:3551
Struct
Value_HostFunction_
internal/embeddedsass/embedded_sass.pb.go:1063
Struct
Value_List
A SassScript list value.
internal/embeddedsass/embedded_sass.pb.go:3383
Struct
Value_List_
internal/embeddedsass/embedded_sass.pb.go:1047
Struct
Value_Map
A SassScript map value.
internal/embeddedsass/embedded_sass.pb.go:3448
Struct
Value_Map_
internal/embeddedsass/embedded_sass.pb.go:1051
next →
1–100 of 125, ranked by callers