Skip to main content
Link
Menu
Expand
(external link)
Document
Search
Copy
Copied
Home
About
Usage
Command-line
React
Rollup
Webpack
Supporting Multiple Locales
Format Guide
Custom Formatters
API Reference
@messageformat/core
CustomFormatter
MessageFormat
MessageFormatOptions
MessageFunction
MessageModule
PluralFunction
ResolvedMessageFormatOptions
StringStructure
compileModule
@messageformat/date-skeleton
DateFormatError
DateToken
getDateFormatter
getDateFormatterSource
parseDateTokens
@messageformat/fluent
FluentMessageRef
FluentMessageResource
FluentMessageResourceData
FluentToMessageOptions
defaultFunctionMap
fluentToMessage
fluentToResource
fluentToResourceData
getFluentFunctions
messageToFluent
resourceToFluent
@messageformat/icu-messageformat-1
MF1Options
getMF1Functions
mf1ToMessage
mf1ToMessageData
@messageformat/number-skeleton
NumberFormatError
Skeleton
Unit
getNumberFormatter
getNumberFormatterSource
parseNumberPattern
parseNumberSkeleton
@messageformat/parser
Content
Context
FunctionArg
Octothorpe
ParseError
ParseOptions
PlainArg
PluralCategory
Select
SelectCase
parse
@messageformat/react
Message
MessageContext
MessageProps
MessageProvider
MessageProviderProps
getMessage
getMessageGetter
useLocales
useMessage
useMessageGetter
@messageformat/resource
CST
parseCST
@messageformat/runtime
MessageData
MessageFunction
Messages
messageformat
Attribute
CatchallKey
Declaration
Expression
FunctionAnnotation
InputDeclaration
Literal
LocalDeclaration
Markup
Message
MessageDataModelError
MessageDateTimePart
MessageError
MessageExpressionPart
MessageFallbackPart
MessageFormat
MessageFormatOptions
MessageFunctions
MessageLiteralPart
MessageMarkupPart
MessageNode
MessageNumberPart
MessageParserOptions
MessagePart
MessageResolutionError
MessageSelectionError
MessageStringPart
MessageSyntaxError
MessageUnknownPart
Option
Pattern
PatternMessage
SelectMessage
UnsupportedAnnotation
UnsupportedStatement
VariableRef
Variant
cst
isCatchallKey
isExpression
isFunctionAnnotation
isLiteral
isMarkup
isMessage
isPatternMessage
isSelectMessage
isUnsupportedAnnotation
isVariableRef
messageFromCST
parseCST
parseMessage
stringifyCST
stringifyMessage
validate
visit
v2 docs
GitHub repo
API Reference
@messageformat/parser
Context / offset
Context.offset property
Token start index from the beginning of the input string
Signature:
offset
:
number
;