Skip to content

Releases: HaxeCheckstyle/tokentree

tokentree v1.0.10

20 Aug 19:36
4c3c1ee
Compare
Choose a tag to compare
  • Added TokenTreeCheckUtils.getColonType() #99 + #100 + #101
  • Fixed implements / extends handling #94
  • Fixed endless loop with macro patterns #94
  • Fixed macro class $name #94
  • Fixed conditionals in new #95
  • Fixed object literal detection #96
  • Fixed getBrOpenType detection of blocks #96 + #99 + #107 + #110
  • Fixed getArrowType detection #97 + #110 + #111
  • Fixed position of trailing comments in switch/cases #98
  • Fixed position of type checks on object literals #99
  • Fixed getPOpenType parameter detection #100 + #101 + #104
  • Fixed ternary position #102 + #105 + #108 + #109
  • Fixed structure extension position of & #103
  • Fixed do…while handling #105
  • Fixed "interesting" use of conditionals #106
  • Fixed arrow position in typedef to function type with structure argument #108
  • Fixed nested while loop detection #108
  • Fixed handling of typed parameters in structure extensions #109

tokentree v1.0.9

13 Aug 17:12
08fd5d6
Compare
Choose a tag to compare
  • Fixed endless loop with case and conditionals #93

tokentree v1.0.8

13 Aug 16:17
d5caab0
Compare
Choose a tag to compare
  • Fixed null poiner and detection in getPOpenType #73 + #88 + #91
  • Fixed property modifiers #74
  • Fixed function type detection #74
  • Fixed getBrOpenType detection of blocks #75 + #77 + #79 + #81 + #83 + #86 + #87 + #88
  • Fixed using multiple metadata with popen #76
  • Fixed support for @new #78
  • Fixed isTernary #80 + #89
  • Fixed getArrowType #80 + #85
  • Fixed comment detection in type hints #82
  • Fixed property handling in getFieldType #84
  • Fixed handling of typedef fields (@:overload, etc.) #89
  • Fixed ternary parsing #90
  • Fixed endless loop with switch and conditionals #92

tokentree v1.0.7

26 Jul 17:39
21357f4
Compare
Choose a tag to compare
  • Added TokenTreeCheckUtils.isTypeStructure() #36 + #50
  • Added TokenTreeCheckUtils.isTypeEnum() #40
  • Added TokenTreeCheckUtils.isMacroClass() #42
  • Added TokenTreeCheckUtils.isOperatorFunction #44
  • Added TokenTreeCheckUtils.getMetadata() and isModifier() #44
  • Added TokenTreeCheckUtils.getBrOpenType() and getPOpenType() #51
  • Added TokenTreeCheckUtils.isDeprecated() #67
  • Added TokenTreeCheckUtils.getName() #68
  • Added TokenTreeCheckUtils.getNameToken() #68
  • Added TokenTreeCheckUtils.isNameToken() #68
  • Added TokenTreeCheckUtils.getDocComment() #69
  • Added support for structural extension #49
  • Added support for final #55 + #56 + #61
  • Added TokenTreeCheckUtils.getArrowType() #70 + #71
  • Fixed running out of tokens during package and imports #28
  • Fixed function in typedef body #30
  • Fixed handling of switch this { #34
  • Fixed handling of macro class #37
  • Fixed isTernary #38
  • Fixed handling return if (cond) -1 else 0 #46
  • Fixed Comma in object declarations #52
  • Fixed @:final handling in Haxe 4 #53
  • Fixed Binop(OpSub) detection #54
  • Fixed final handling in FieldUtils when compiling with Haxe 3 #56
  • Fixed handling of const type parameters #57
  • Fixed case var handling #58
  • Fixed case Pattern(var foo, var bar) handling #59
  • Fixed comments in if…else #60 +#72
  • Fixed comments in typedefs #62
  • Fixed handling of array items #62
  • Fixed handling of null, true and false as body of if #63
  • Changed getPos to calculate full position of all childs #29
  • Changed position of enum in enum abstract #65
  • Refactored tempStore handling and moved it to TokenStream childs #28 + #30
  • Refactored TokenTreeAccessHelper and made it an abstract #31 + #32 + #41
  • Refactored isTypeEnumAbstract #33
  • Refactored to apply formatting #63 + #65
  • Refactored filterCallback to remove Array.concat calls #66

tokentree v1.0.6

16 Jul 20:35
6424dbb
Compare
Choose a tag to compare
  • Added TokenTreeCheckUtils.isTypeEnumAbstract #16
  • Added FieldUtils #17
  • Added isComment and isCIdent to TokentTreeAccessHelper #23
  • Added TokenTreeCheckUtils.isOpGtTypedefExtension #24
  • Added TokenTreeCheckUtils.isBrOpenAnonTypeOrTypedef #26
  • Added tempStore to TokenStream #27
  • Fixed @:default #18
  • Fixed position of cast children #19
  • Fixed position of comments in case/default #20
  • Fixed error handling to work with --no-inline #21
  • Fixed position of BinOp() in anon objects #22
  • Fixed ternary handling #25
  • Fixed missing modifiers in conditionals #27
  • Changed isImport to also incluide using #20

tokentree v1.0.5

08 Jul 10:32
9cfa392
Compare
Choose a tag to compare
  • Added support for enum abstract #14
  • Added support for @:a.b.c #14
  • Added support for var ?x:Int #14
  • Added support for extern fields #14
  • Changed position of Dot in method chains #15

tokentree v1.0.4

30 Jun 08:57
7a9e79f
Compare
Choose a tag to compare
  • Added parent and sibling access methods to TokenTreeAccessHelper #10
  • Added support for haxeparser's whitespace (-D keep_whitespace) #12
  • Fixed handling of if, while and dowhile conditions #11
  • Fixed handling of ternary expressions #11
  • Fixed tree position of Comma #13

tokentree v1.0.3

23 Jun 23:52
3b82ba0
Compare
Choose a tag to compare
  • Fixed position of comments in abstracts and interfaces #7
  • Fixed unittest and coverage reporting for Haxe 4 #8

tokentree v1.0.2

22 Jun 20:59
5f87521
Compare
Choose a tag to compare
  • Fixed thread safety of SharpIf handling #4
  • Fixed handling of Semicolon in typedefs #4
  • Fixed WalkComment at end of stream #4
  • Fixed handling of switch in object declaration #5
  • Changed position of top level comments #4

tokentree v1.0.1

14 Jun 11:14
Compare
Choose a tag to compare
  • Added RELAX mode to make parser more fault tolerant #2
  • Fixed handling of cast -1 #1