Sha256: db495a7f37dd052205caaf55218a2bed39eba0056cd37d504639828fc6855a6b

Contents?: true

Size: 1.48 KB

Versions: 78

Compression:

Stored size: 1.48 KB

Contents

// This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License.
Syntax.register("swift",function(a){a.push(["fileprivate","open","private","public"],{klass:"access"});a.push(["self","super","true","false","nil"],{klass:"constant"});a.push({pattern:/`[^`]+`/g,klass:"identifier"});a.push({pattern:/\\\(([^)]*)\)/g,matches:Syntax.extractMatches({brush:"swift",only:["string"]})});a.push(Syntax.lib.camelCaseType);a.push("associatedtype class deinit enum extension fileprivate func import init inout internal let operator private protocol static struct subscript typealias var break case continue default defer do else fallthrough for guard if in repeat return switch where while as catch is rethrows throw throws try _ #available #colorLiteral #column #else #elseif #endif #file #fileLiteral #function #if #imageLiteral #line #selector #sourceLocation associativity convenience dynamic didSet final get infix indirect lazy left mutating none nonmutating optional override postfix precedence prefix Protocol required right set Type unowned weak willSet".split(" "),
{klass:"keyword"});a.push("+ * / - & | ~ ! % < = > ( ) { } [ ] . , : ; = @ # -> ` ? !".split(" "),{klass:"operator"});a.push(Syntax.lib.cStyleComment);a.push(Syntax.lib.cppStyleComment);a.push(Syntax.lib.webLink);a.push(Syntax.lib.singleQuotedString);a.push(Syntax.lib.doubleQuotedString);a.push(Syntax.lib.stringEscape);a.push(Syntax.lib.decimalNumber);a.push(Syntax.lib.hexNumber);a.push(Syntax.lib.cStyleFunction)});

Version data entries

78 entries across 76 versions & 4 rubygems

Version Path
utopia-project-0.32.0 public/_components/jquery-syntax/jquery.syntax.brush.swift.js
utopia-project-0.31.0 public/_components/jquery-syntax/jquery.syntax.brush.swift.js
utopia-project-0.30.1 public/_components/jquery-syntax/jquery.syntax.brush.swift.js
utopia-project-0.30.0 public/_components/jquery-syntax/jquery.syntax.brush.swift.js
utopia-project-0.29.0 public/_components/jquery-syntax/jquery.syntax.brush.swift.js
utopia-project-0.28.1 public/_components/jquery-syntax/jquery.syntax.brush.swift.js
utopia-project-0.28.0 public/_components/jquery-syntax/jquery.syntax.brush.swift.js
utopia-project-0.27.0 public/_components/jquery-syntax/jquery.syntax.brush.swift.js
utopia-project-0.26.1 public/_components/jquery-syntax/jquery.syntax.brush.swift.js
utopia-project-0.26.0 public/_components/jquery-syntax/jquery.syntax.brush.swift.js
utopia-project-0.25.0 public/_components/jquery-syntax/jquery.syntax.brush.swift.js
utopia-project-0.24.1 public/_components/jquery-syntax/jquery.syntax.brush.swift.js
utopia-project-0.24.0 public/_components/jquery-syntax/jquery.syntax.brush.swift.js
utopia-project-0.23.0 public/_components/jquery-syntax/jquery.syntax.brush.swift.js
utopia-project-0.22.0 public/_components/jquery-syntax/jquery.syntax.brush.swift.js
utopia-project-0.21.0 public/_components/jquery-syntax/jquery.syntax.brush.swift.js
utopia-project-0.20.3 public/_components/jquery-syntax/jquery.syntax.brush.swift.js
async-debug-0.2.0 public/_components/jquery-syntax/jquery.syntax.brush.swift.js
utopia-project-0.20.2 public/_components/jquery-syntax/jquery.syntax.brush.swift.js
utopia-project-0.20.1 public/_components/jquery-syntax/jquery.syntax.brush.swift.js