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
defaultFunctionMap
fluentToMessage
fluentToResource
fluentToResourceData
getFluentRuntime
messageToFluent
resourceToFluent
@messageformat/icu-messageformat-1
MF1Options
getMF1Runtime
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/runtime
MessageData
MessageFunction
Messages
messageformat
CatchallKey
Declaration
Expression
Junk
JunkMessage
Literal
LocaleContext
MarkupEnd
MarkupStart
Message
MessageDataModelError
MessageDateTime
MessageError
MessageFallback
MessageFormat
MessageFormatOptions
MessageLiteral
MessageMarkupEnd
MessageMarkupStart
MessageNumber
MessageSyntaxError
MessageValue
Meta
Option
Pattern
PatternElement
PatternMessage
Placeholder
ResolvedMessage
Runtime
RuntimeOptions
SelectMessage
Text
VariableRef
Variant
asMessageValue
asMessageValue
asMessageValue
castAsBoolean
castAsInteger
defaultRuntime
extendLocaleContext
isCatchallKey
isExpression
isJunk
isLiteral
isMarkupEnd
isMarkupStart
isMessage
isPatternMessage
isPlaceholder
isSelectMessage
isText
isVariableRef
parseMessage
stringifyMessage
validate
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
;