TexParserSettings class

Settings for TexParser

Constructors

TexParserSettings.new({bool displayMode = false, bool throwOnError = true, Map<String, MacroDefinition> macros = const {}, int maxExpand = 1000, Strict strict = Strict.warn, Strict strictFun(String, String, Token?)?, bool globalGroup = false, bool colorIsTextColor = false})
const

Properties

colorIsTextColor bool
Behavior of \color command
final
displayMode bool
final
globalGroup bool
final
hashCode int
The hash code for this object.
no setterinherited
macros Map<String, MacroDefinition>
Extra macros
final
maxExpand int
Max expand depth for macro expansions. Default 1000
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strict Strict
Strict level for parsing. Default Strict.warn
final
strictFun Strict Function(String, String, Token?)?
Functions to decide how to handle non-strict behaviors. Must set TexParserSettings.strict to Strict.function
final
throwOnError bool
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reportNonstrict(String errorCode, String errorMsg, [Token? token]) → void
toString() String
A string representation of this object.
inherited
useStrictBehavior(String errorCode, String errorMsg, [Token? token]) bool

Operators

operator ==(Object other) bool
The equality operator.
inherited