Package sass.embedded_protocol
Interface EmbeddedSass.Value.HostFunctionOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
EmbeddedSass.Value.HostFunction
,EmbeddedSass.Value.HostFunction.Builder
- Enclosing class:
- EmbeddedSass.Value
public static interface EmbeddedSass.Value.HostFunctionOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getId()
A unique ID for this function.String
getSignature()
The signatures for this function.ByteString
getSignatureBytes()
The signatures for this function.-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getId
int getId()
A unique ID for this function. The compiler must pass this ID as `OutboundRequest.FunctionCallRequest.id` when invoking this function. The host is responsible for generating this ID and ensuring it's unique across all functions for *all* compilations. Mandatory.
uint32 id = 1;
- Returns:
- The id.
-
getSignature
String getSignature()
The signatures for this function. This must be a valid Sass function signature that could appear in after `@function` in a Sass stylesheet, such as `mix($color1, $color2, $weight: 50%)`. Mandatory. The compiler may not invoke the function by its name, since it's not guaranteed to be globally unique. However, it may use the name to generate the string representation of this function.
string signature = 2;
- Returns:
- The signature.
-
getSignatureBytes
ByteString getSignatureBytes()
The signatures for this function. This must be a valid Sass function signature that could appear in after `@function` in a Sass stylesheet, such as `mix($color1, $color2, $weight: 50%)`. Mandatory. The compiler may not invoke the function by its name, since it's not guaranteed to be globally unique. However, it may use the name to generate the string representation of this function.
string signature = 2;
- Returns:
- The bytes for signature.
-
-