NodeBB Plugin Swift
NodeBB plugin for highlight swift language
Installation
npm install nodebb-plugin-swift
Usage
{ try if blockclassName != -1 return + ' class=""'; catch e /* handle exception */ var e4x = <div>Example <p>1234</p></div>; for var i = 0 / 2; i < classeslength; i++ // "0 / 2" should not be parsed as regexp if === undefined return /\d+[\s/]/g; console;}
extension MyClass : Interface { class func unarchiveFromFile<A>(file : A, (Int,Int) -> B) -> SKNode? { let path: String = bundle.pathForResource(file, ofType: "file\(name + 5).txt") let funnyNumber = 3 + 0xC2.15p2 * (1_000_000.000_000_1 - 000123.456) + 0o21 var sceneData = NSData.dataWithContentsOfFile(path, options: .DataReadingMappedIfSafe, error: nil) /* a comment /* with a nested comment */ and the end */ } @objc override func shouldAutorotate() { return true }}
require_once 'Zend/Uri/Http.php'; namespace Location\Web; interface Factory{ static function _factory();} abstract class URI extends BaseURI implements Factory{ abstract function test(); public static $st1 = 1; const ME = "Yo"; var $list = NULL; private $var; /** * Returns a URI * * @return URI */ static public function _factory($stats = array(), $uri = 'http') { echo __METHOD__; $uri = explode(':', $uri, 0b10); $schemeSpecific = isset($uri[1]) ? $uri[1] : ''; $desc = 'Multiline description'; // Security check if (!ctype_alnum($scheme)) { throw new Zend_Uri_Exception('Illegal scheme'); } $this->var = 0 - self::$st; $this->list = list(Array("1"=> 2, 2=>self::ME)); return [ 'uri' => $uri, 'value' => null, ]; }} echo URI::ME . URI::$st1; __halt_compiler () ; dataheredataheredatahere */datahere