WitParserLimits

data class WitParserLimits(val maxSourceChars: Int = 4 * 1024 * 1024, val maxTokens: Int, val maxDeclarations: Int, val maxMembersPerDeclaration: Int, val maxTypeNesting: Int = 128, val maxPackageNesting: Int = 128, val maxIncludeDepth: Int = 128, val maxExpandedWorldItems: Int)

Resource limits applied while parsing and expanding an untrusted WIT source.

Constructors

Link copied to clipboard
constructor(maxSourceChars: Int = 4 * 1024 * 1024, maxTokens: Int, maxDeclarations: Int, maxMembersPerDeclaration: Int, maxTypeNesting: Int = 128, maxPackageNesting: Int = 128, maxIncludeDepth: Int = 128, maxExpandedWorldItems: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard