ClikeConfig
data class ClikeConfig(val name: String, val keywords: Set<String> = emptySet(), val types: (String) -> Boolean? = null, val typesSet: Set<String> = emptySet(), val builtin: Set<String> = emptySet(), val blockKeywords: Set<String> = emptySet(), val defKeywords: Set<String> = emptySet(), val atoms: Set<String> = emptySet(), val hooks: Map<String, (StringStream, ClikeState) -> Any?> = emptyMap(), val tokenHook: (StringStream, ClikeState, String?) -> String?? = null, val indentHook: (ClikeState, ClikeContext, String, Int) -> Int?? = null, val multiLineStrings: Boolean = false, val indentStatements: Boolean = true, val indentSwitch: Boolean = true, val namespaceSeparator: String? = null, val isPunctuationChar: Regex = Regex("[\\[\\]{}(),:;.]"), val numberStart: Regex = Regex("[\\d.]"), val number: Regex = Regex(
"^(?:0x[a-f\\d]+|0b[01]+|(?:\\d+\\.?\\d*|\\.\\d+)(?:e[-+]?\\d+)?)(u|ll?|l|f)?",
RegexOption.IGNORE_CASE
), val isOperatorChar: Regex = Regex("[+\\-*&%=<>!?|/]"), val isIdentifierChar: Regex = Regex("[\\w\$_\u00a1-\uffff]"), val isReservedIdentifier: (String) -> Boolean? = null, val typeFirstDefinitions: Boolean = false, val dontAlignCalls: Boolean = false, val dontIndentStatements: Regex? = null, val allmanIndentation: Boolean = false, val styleDefs: Boolean = true, val languageData: Map<String, Any> = emptyMap())
Constructors
Link copied to clipboard
constructor(name: String, keywords: Set<String> = emptySet(), types: (String) -> Boolean? = null, typesSet: Set<String> = emptySet(), builtin: Set<String> = emptySet(), blockKeywords: Set<String> = emptySet(), defKeywords: Set<String> = emptySet(), atoms: Set<String> = emptySet(), hooks: Map<String, (StringStream, ClikeState) -> Any?> = emptyMap(), tokenHook: (StringStream, ClikeState, String?) -> String?? = null, indentHook: (ClikeState, ClikeContext, String, Int) -> Int?? = null, multiLineStrings: Boolean = false, indentStatements: Boolean = true, indentSwitch: Boolean = true, namespaceSeparator: String? = null, isPunctuationChar: Regex = Regex("[\\[\\]{}(),:;.]"), numberStart: Regex = Regex("[\\d.]"), number: Regex = Regex(
"^(?:0x[a-f\\d]+|0b[01]+|(?:\\d+\\.?\\d*|\\.\\d+)(?:e[-+]?\\d+)?)(u|ll?|l|f)?",
RegexOption.IGNORE_CASE
), isOperatorChar: Regex = Regex("[+\\-*&%=<>!?|/]"), isIdentifierChar: Regex = Regex("[\\w\$_\u00a1-\uffff]"), isReservedIdentifier: (String) -> Boolean? = null, typeFirstDefinitions: Boolean = false, dontAlignCalls: Boolean = false, dontIndentStatements: Regex? = null, allmanIndentation: Boolean = false, styleDefs: Boolean = true, languageData: Map<String, Any> = emptyMap())
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
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard