├── .babelrc ├── .gitattributes ├── .gitignore ├── .npmignore ├── .travis.yml ├── LICENSE ├── README.md ├── dist └── .keep ├── package.json ├── src ├── Parser │ ├── access.js │ ├── branch │ │ ├── guard.js │ │ ├── if.js │ │ ├── index.js │ │ ├── pseudo.js │ │ └── switch.js │ ├── comment.js │ ├── declare │ │ ├── class.js │ │ ├── enum.js │ │ ├── extension.js │ │ ├── function.js │ │ ├── import.js │ │ ├── index.js │ │ ├── operator.js │ │ ├── protocol.js │ │ ├── struct.js │ │ ├── typealias.js │ │ └── variable.js │ ├── expression │ │ ├── args.js │ │ ├── array.js │ │ ├── atom.js │ │ ├── binary.js │ │ ├── closure.js │ │ ├── index.js │ │ ├── literal.js │ │ └── unary.js │ ├── index.js │ ├── loop.js │ ├── parse.js │ ├── statement.js │ └── type.js ├── Tokenizer │ ├── char.js │ ├── index.js │ └── scanner.js ├── build.js ├── const.js ├── index.js ├── labels.js ├── nodes.js ├── precedence.js ├── scope.js └── utils.js ├── static ├── codemirror │ ├── main.css │ ├── main.js │ ├── mode │ │ ├── javascript │ │ │ ├── index.html │ │ │ ├── javascript.js │ │ │ ├── json-ld.html │ │ │ ├── test.js │ │ │ └── typescript.html │ │ └── swift │ │ │ ├── index.html │ │ │ └── swift.js │ └── theme │ │ └── seti.css ├── css │ ├── main.css │ └── pure.min.css ├── index.html └── js │ ├── cm.js │ ├── main.js │ └── stars.js └── tests ├── control ├── if.swift ├── loop.swift └── pseudo.swift ├── declaration ├── classes │ ├── 0.swift │ ├── 1.swift │ └── 2.swift ├── extension │ ├── 0.swift │ ├── 1.swift │ └── 2.swift ├── functions │ ├── 0.swift │ ├── 1.swift │ ├── 2.swift │ ├── 3.swift │ ├── 4.swift │ └── 5.swift ├── imports │ ├── 0.swift │ ├── 1.swift │ └── 2.swift ├── operators │ ├── 0.swift │ ├── 1.swift │ ├── 2.swift │ ├── 3.swift │ └── 4.swift ├── protocols │ └── 0.swift ├── structures │ └── 0.swift └── variables │ ├── 0.swift │ ├── 1.swift │ ├── 11.swift │ ├── 12.swift │ ├── 13.swift │ ├── 2.swift │ ├── 3.swift │ ├── 4.swift │ ├── 5.swift │ ├── 7.swift │ ├── 8.swift │ └── 9.swift ├── expression ├── array │ └── 0.swift ├── call │ └── 0.swift ├── cast │ └── 0.swift ├── closure │ ├── closures.swift │ ├── closures │ │ ├── 0.swift │ │ ├── 1.swift │ │ ├── 2.swift │ │ ├── 3.swift │ │ └── 4.swift │ ├── closures1.swift │ └── closures2.swift ├── complex │ ├── 0.swift │ ├── 1.swift │ ├── 2.swift │ └── 3.swift ├── conditional │ └── 0.swift ├── equality │ └── 0.swift ├── logical │ └── 0.swift ├── parenthese │ ├── 0.swift │ └── 1.swift ├── prompt │ ├── 0.swift │ └── 1.swift ├── tuple │ ├── 0.swift │ ├── 1.swift │ └── 2.swift └── unary │ └── 0.swift ├── index.js └── unreached ├── enums.swift └── generic.swift /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015", "stage-0"] 3 | } -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | tests 3 | .editorconfig 4 | .gitattributes -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/README.md -------------------------------------------------------------------------------- /dist/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/package.json -------------------------------------------------------------------------------- /src/Parser/access.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/access.js -------------------------------------------------------------------------------- /src/Parser/branch/guard.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/branch/guard.js -------------------------------------------------------------------------------- /src/Parser/branch/if.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/branch/if.js -------------------------------------------------------------------------------- /src/Parser/branch/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/branch/index.js -------------------------------------------------------------------------------- /src/Parser/branch/pseudo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/branch/pseudo.js -------------------------------------------------------------------------------- /src/Parser/branch/switch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/branch/switch.js -------------------------------------------------------------------------------- /src/Parser/comment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/comment.js -------------------------------------------------------------------------------- /src/Parser/declare/class.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/declare/class.js -------------------------------------------------------------------------------- /src/Parser/declare/enum.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/declare/enum.js -------------------------------------------------------------------------------- /src/Parser/declare/extension.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/declare/extension.js -------------------------------------------------------------------------------- /src/Parser/declare/function.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/declare/function.js -------------------------------------------------------------------------------- /src/Parser/declare/import.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/declare/import.js -------------------------------------------------------------------------------- /src/Parser/declare/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/declare/index.js -------------------------------------------------------------------------------- /src/Parser/declare/operator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/declare/operator.js -------------------------------------------------------------------------------- /src/Parser/declare/protocol.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/declare/protocol.js -------------------------------------------------------------------------------- /src/Parser/declare/struct.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/declare/struct.js -------------------------------------------------------------------------------- /src/Parser/declare/typealias.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/declare/typealias.js -------------------------------------------------------------------------------- /src/Parser/declare/variable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/declare/variable.js -------------------------------------------------------------------------------- /src/Parser/expression/args.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/expression/args.js -------------------------------------------------------------------------------- /src/Parser/expression/array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/expression/array.js -------------------------------------------------------------------------------- /src/Parser/expression/atom.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/expression/atom.js -------------------------------------------------------------------------------- /src/Parser/expression/binary.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/expression/binary.js -------------------------------------------------------------------------------- /src/Parser/expression/closure.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/expression/closure.js -------------------------------------------------------------------------------- /src/Parser/expression/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/expression/index.js -------------------------------------------------------------------------------- /src/Parser/expression/literal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/expression/literal.js -------------------------------------------------------------------------------- /src/Parser/expression/unary.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/expression/unary.js -------------------------------------------------------------------------------- /src/Parser/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/index.js -------------------------------------------------------------------------------- /src/Parser/loop.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/loop.js -------------------------------------------------------------------------------- /src/Parser/parse.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/parse.js -------------------------------------------------------------------------------- /src/Parser/statement.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/statement.js -------------------------------------------------------------------------------- /src/Parser/type.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Parser/type.js -------------------------------------------------------------------------------- /src/Tokenizer/char.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Tokenizer/char.js -------------------------------------------------------------------------------- /src/Tokenizer/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Tokenizer/index.js -------------------------------------------------------------------------------- /src/Tokenizer/scanner.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/Tokenizer/scanner.js -------------------------------------------------------------------------------- /src/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/build.js -------------------------------------------------------------------------------- /src/const.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/const.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/index.js -------------------------------------------------------------------------------- /src/labels.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/labels.js -------------------------------------------------------------------------------- /src/nodes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/nodes.js -------------------------------------------------------------------------------- /src/precedence.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/precedence.js -------------------------------------------------------------------------------- /src/scope.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/scope.js -------------------------------------------------------------------------------- /src/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/src/utils.js -------------------------------------------------------------------------------- /static/codemirror/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/static/codemirror/main.css -------------------------------------------------------------------------------- /static/codemirror/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/static/codemirror/main.js -------------------------------------------------------------------------------- /static/codemirror/mode/javascript/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/static/codemirror/mode/javascript/index.html -------------------------------------------------------------------------------- /static/codemirror/mode/javascript/javascript.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/static/codemirror/mode/javascript/javascript.js -------------------------------------------------------------------------------- /static/codemirror/mode/javascript/json-ld.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/static/codemirror/mode/javascript/json-ld.html -------------------------------------------------------------------------------- /static/codemirror/mode/javascript/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/static/codemirror/mode/javascript/test.js -------------------------------------------------------------------------------- /static/codemirror/mode/javascript/typescript.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/static/codemirror/mode/javascript/typescript.html -------------------------------------------------------------------------------- /static/codemirror/mode/swift/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/static/codemirror/mode/swift/index.html -------------------------------------------------------------------------------- /static/codemirror/mode/swift/swift.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/static/codemirror/mode/swift/swift.js -------------------------------------------------------------------------------- /static/codemirror/theme/seti.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/static/codemirror/theme/seti.css -------------------------------------------------------------------------------- /static/css/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/static/css/main.css -------------------------------------------------------------------------------- /static/css/pure.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/static/css/pure.min.css -------------------------------------------------------------------------------- /static/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/static/index.html -------------------------------------------------------------------------------- /static/js/cm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/static/js/cm.js -------------------------------------------------------------------------------- /static/js/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/static/js/main.js -------------------------------------------------------------------------------- /static/js/stars.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/static/js/stars.js -------------------------------------------------------------------------------- /tests/control/if.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/control/if.swift -------------------------------------------------------------------------------- /tests/control/loop.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/control/loop.swift -------------------------------------------------------------------------------- /tests/control/pseudo.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/control/pseudo.swift -------------------------------------------------------------------------------- /tests/declaration/classes/0.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/declaration/classes/0.swift -------------------------------------------------------------------------------- /tests/declaration/classes/1.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/declaration/classes/1.swift -------------------------------------------------------------------------------- /tests/declaration/classes/2.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/declaration/classes/2.swift -------------------------------------------------------------------------------- /tests/declaration/extension/0.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/declaration/extension/0.swift -------------------------------------------------------------------------------- /tests/declaration/extension/1.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/declaration/extension/1.swift -------------------------------------------------------------------------------- /tests/declaration/extension/2.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/declaration/extension/2.swift -------------------------------------------------------------------------------- /tests/declaration/functions/0.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/declaration/functions/0.swift -------------------------------------------------------------------------------- /tests/declaration/functions/1.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/declaration/functions/1.swift -------------------------------------------------------------------------------- /tests/declaration/functions/2.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/declaration/functions/2.swift -------------------------------------------------------------------------------- /tests/declaration/functions/3.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/declaration/functions/3.swift -------------------------------------------------------------------------------- /tests/declaration/functions/4.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/declaration/functions/4.swift -------------------------------------------------------------------------------- /tests/declaration/functions/5.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/declaration/functions/5.swift -------------------------------------------------------------------------------- /tests/declaration/imports/0.swift: -------------------------------------------------------------------------------- 1 | import Foundation -------------------------------------------------------------------------------- /tests/declaration/imports/1.swift: -------------------------------------------------------------------------------- 1 | import Verhicle, Car -------------------------------------------------------------------------------- /tests/declaration/imports/2.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/declaration/imports/2.swift -------------------------------------------------------------------------------- /tests/declaration/operators/0.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/declaration/operators/0.swift -------------------------------------------------------------------------------- /tests/declaration/operators/1.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/declaration/operators/1.swift -------------------------------------------------------------------------------- /tests/declaration/operators/2.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/declaration/operators/2.swift -------------------------------------------------------------------------------- /tests/declaration/operators/3.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/declaration/operators/3.swift -------------------------------------------------------------------------------- /tests/declaration/operators/4.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/declaration/operators/4.swift -------------------------------------------------------------------------------- /tests/declaration/protocols/0.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/declaration/protocols/0.swift -------------------------------------------------------------------------------- /tests/declaration/structures/0.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/declaration/structures/0.swift -------------------------------------------------------------------------------- /tests/declaration/variables/0.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/declaration/variables/0.swift -------------------------------------------------------------------------------- /tests/declaration/variables/1.swift: -------------------------------------------------------------------------------- 1 | var a:Int = 0; 2 | 3 | expect(a == 0); -------------------------------------------------------------------------------- /tests/declaration/variables/11.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/declaration/variables/11.swift -------------------------------------------------------------------------------- /tests/declaration/variables/12.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/declaration/variables/12.swift -------------------------------------------------------------------------------- /tests/declaration/variables/13.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/declaration/variables/13.swift -------------------------------------------------------------------------------- /tests/declaration/variables/2.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/declaration/variables/2.swift -------------------------------------------------------------------------------- /tests/declaration/variables/3.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/declaration/variables/3.swift -------------------------------------------------------------------------------- /tests/declaration/variables/4.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/declaration/variables/4.swift -------------------------------------------------------------------------------- /tests/declaration/variables/5.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/declaration/variables/5.swift -------------------------------------------------------------------------------- /tests/declaration/variables/7.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/declaration/variables/7.swift -------------------------------------------------------------------------------- /tests/declaration/variables/8.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/declaration/variables/8.swift -------------------------------------------------------------------------------- /tests/declaration/variables/9.swift: -------------------------------------------------------------------------------- 1 | // test if operators dont require whitespace 2 | var a=2*4; 3 | 4 | expect(a==8); -------------------------------------------------------------------------------- /tests/expression/array/0.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/expression/array/0.swift -------------------------------------------------------------------------------- /tests/expression/call/0.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/expression/call/0.swift -------------------------------------------------------------------------------- /tests/expression/cast/0.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/expression/cast/0.swift -------------------------------------------------------------------------------- /tests/expression/closure/closures.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/expression/closure/closures.swift -------------------------------------------------------------------------------- /tests/expression/closure/closures/0.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/expression/closure/closures/0.swift -------------------------------------------------------------------------------- /tests/expression/closure/closures/1.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/expression/closure/closures/1.swift -------------------------------------------------------------------------------- /tests/expression/closure/closures/2.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/expression/closure/closures/2.swift -------------------------------------------------------------------------------- /tests/expression/closure/closures/3.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/expression/closure/closures/3.swift -------------------------------------------------------------------------------- /tests/expression/closure/closures/4.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/expression/closure/closures/4.swift -------------------------------------------------------------------------------- /tests/expression/closure/closures1.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/expression/closure/closures1.swift -------------------------------------------------------------------------------- /tests/expression/closure/closures2.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/expression/closure/closures2.swift -------------------------------------------------------------------------------- /tests/expression/complex/0.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/expression/complex/0.swift -------------------------------------------------------------------------------- /tests/expression/complex/1.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/expression/complex/1.swift -------------------------------------------------------------------------------- /tests/expression/complex/2.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/expression/complex/2.swift -------------------------------------------------------------------------------- /tests/expression/complex/3.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/expression/complex/3.swift -------------------------------------------------------------------------------- /tests/expression/conditional/0.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/expression/conditional/0.swift -------------------------------------------------------------------------------- /tests/expression/equality/0.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/expression/equality/0.swift -------------------------------------------------------------------------------- /tests/expression/logical/0.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/expression/logical/0.swift -------------------------------------------------------------------------------- /tests/expression/parenthese/0.swift: -------------------------------------------------------------------------------- 1 | var a:Int = 1+4/5*4+51+(4*(945+94/748)+44+2)+56; 2 | 3 | expect(a == 3934); -------------------------------------------------------------------------------- /tests/expression/parenthese/1.swift: -------------------------------------------------------------------------------- 1 | var a = (*)(2, 3); 2 | 3 | expect(a == 6); -------------------------------------------------------------------------------- /tests/expression/prompt/0.swift: -------------------------------------------------------------------------------- 1 | 1 != 2 && 1 > 2; -------------------------------------------------------------------------------- /tests/expression/prompt/1.swift: -------------------------------------------------------------------------------- 1 | 10 < 20 -------------------------------------------------------------------------------- /tests/expression/tuple/0.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/expression/tuple/0.swift -------------------------------------------------------------------------------- /tests/expression/tuple/1.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/expression/tuple/1.swift -------------------------------------------------------------------------------- /tests/expression/tuple/2.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/expression/tuple/2.swift -------------------------------------------------------------------------------- /tests/expression/unary/0.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/expression/unary/0.swift -------------------------------------------------------------------------------- /tests/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/index.js -------------------------------------------------------------------------------- /tests/unreached/enums.swift: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unreached/generic.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maierfelix/hevia-parser/HEAD/tests/unreached/generic.swift --------------------------------------------------------------------------------