194 Commits

Author SHA1 Message Date
Ryan Chandler
a9ced4460a
parser: support full trait-definitions 2022-07-25 14:30:47 +01:00
Ryan Chandler
04d2d46472
parser: support empty trait definitions 2022-07-25 14:22:52 +01:00
Ryan Chandler
c5d89f8881
all: clippy 2022-07-25 01:17:17 +01:00
Ryan Chandler
79e726054b
parser: support interface statements with extends 2022-07-25 01:08:10 +01:00
Ryan Chandler
f710962ab7
parser: todo 2022-07-25 00:48:53 +01:00
Ryan Chandler
201a89fc4d
parser: support a fuller class parsing structure 2022-07-25 00:46:10 +01:00
Ryan Chandler
2948a2e0af
parser: support types on class var statements 2022-07-24 19:41:05 +01:00
Ryan Chandler
a1a00c6f8f
parser: support grouped expressions 2022-07-23 16:34:15 +01:00
Ryan Chandler
e15aafc3f3
parser: support function return types 2022-07-23 16:13:35 +01:00
Ryan Chandler
401ea81a5e
parser: add tests for param types 2022-07-23 16:08:58 +01:00
Ryan Chandler
cb2fb3b8c9
parser: support intersection type-strings 2022-07-23 16:04:21 +01:00
Ryan Chandler
14a57a6c9c
parser: support union type strings 2022-07-23 16:01:11 +01:00
Ryan Chandler
13d0aa21cd
parser: support nullable types 2022-07-23 15:51:16 +01:00
Ryan Chandler
8e1b13f715
parser: support basic type strings 2022-07-23 15:49:27 +01:00
Ryan Chandler
f7ae736891
parser: move into a module folder 2022-07-23 13:57:32 +01:00
Ryan Chandler
c1faec57b5
all: clippy 2022-07-23 13:44:28 +01:00
Ryan Chandler
f1dcd0131c
parser: temp logic for comments inside of classes 2022-07-22 17:57:09 +01:00
Ryan Chandler
e4fe6aaa06
parser: bodge and put comments into their own ast node 2022-07-22 16:59:53 +01:00
Ryan Chandler
1150804fe7
parser: support use statements 2022-07-22 16:56:10 +01:00
Ryan Chandler
8042a6f33f
parser: support namespace statements with blocks or one-liners 2022-07-22 16:44:26 +01:00
Ryan Chandler
24c145d16b
all: clippy 2022-07-20 20:55:01 +01:00
Ryan Chandler
d69463ac36
parser: support no-op / empty statement 2022-07-20 20:53:23 +01:00
Ryan Chandler
92b457c87a
lexer: support more flags 2022-07-19 22:17:18 +01:00
Ryan Chandler
8b143869a8
phpast: output as json 2022-07-19 16:56:55 +01:00
Ryan Chandler
97c148e099
lexer+parser: support basic assoc arrays 2022-07-19 16:39:55 +01:00
Ryan Chandler
3430522e52
lexer+parser: basic support for lists 2022-07-19 16:37:32 +01:00
Ryan Chandler
e1fe663fc2
all: clippy 2022-07-19 16:32:21 +01:00
Ryan Chandler
2b2ec2253f
parser: basic class prop support with var 2022-07-19 15:58:20 +01:00
Ryan Chandler
2a62892738
parser: support expression statements 2022-07-19 15:53:34 +01:00
Ryan Chandler
fedc2c01ec
phpast: init 2022-07-19 15:29:20 +01:00
Ryan Chandler
33fc8c6b0e
parser: support class extends and implements 2022-07-19 15:13:53 +01:00
Ryan Chandler
3a618d2a9e
chore: disable doc tests 2022-07-19 14:43:25 +01:00
Ryan Chandler
3b5f0ac885
parser: store spans in errors 2022-07-19 14:21:28 +01:00
Ryan Chandler
5b97f54ad4
parser: refactor to use a borrow friendly structure 2022-07-19 13:50:14 +01:00
Ryan Chandler
cfa199e81e
parser: class methods with visibility 2022-07-19 12:04:40 +01:00
Ryan Chandler
aed95d9036
parser: add statement to class method test 2022-07-19 11:51:11 +01:00
Ryan Chandler
20f957083a
parser: class definition with basic method 2022-07-19 11:49:52 +01:00
Ryan Chandler
040663698c
parser: support empty class definitions 2022-07-19 11:43:33 +01:00
Ryan Chandler
cc8fcf4105
parser: simplify structure 2022-07-19 11:32:57 +01:00
Ryan Chandler
ce70d1f550
all: clippy 2022-07-16 20:42:45 +01:00
Ryan Chandler
4f5800df88
parser: expect semi-colon after empty return 2022-07-16 18:47:55 +01:00
Ryan Chandler
07f06db11d
parser: correctly parse a basic recursive fib function 2022-07-16 18:11:35 +01:00
Ryan Chandler
ab3b9f8187
parser: empty functions with params 2022-07-16 16:31:25 +01:00
Ryan Chandler
149e65087b
parser: init 2022-07-16 14:57:22 +01:00