JavaScriptConfig

data class JavaScriptConfig(val name: String = "javascript", val json: Boolean = false, val jsonld: Boolean = false, val typescript: Boolean = false, val statementIndent: Int? = null, val wordCharacters: Regex = Regex("[\\w\$\\u00a1-\\uffff]"), val doubleIndentSwitch: Boolean = true)

Constructors

Link copied to clipboard
constructor(name: String = "javascript", json: Boolean = false, jsonld: Boolean = false, typescript: Boolean = false, statementIndent: Int? = null, wordCharacters: Regex = Regex("[\\w\$\\u00a1-\\uffff]"), doubleIndentSwitch: Boolean = true)

Properties

Link copied to clipboard

Whether the body of a switch is indented by two units, with case and default labels at one. Upstream's doubleIndentSwitch, which defaults to on.

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