Skip to content

tokentree v1.0.7

Compare
Choose a tag to compare
@AlexHaxe AlexHaxe released this 26 Jul 17:39
· 195 commits to master since this release
21357f4
  • 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