Releases: HaxeCheckstyle/tokentree
Releases · HaxeCheckstyle/tokentree
tokentree v1.0.10
- 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
- Fixed endless loop with case and conditionals #93
tokentree v1.0.8
- 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
- Added
TokenTreeCheckUtils.isTypeStructure()
#36 + #50 - Added
TokenTreeCheckUtils.isTypeEnum()
#40 - Added
TokenTreeCheckUtils.isMacroClass()
#42 - Added
TokenTreeCheckUtils.isOperatorFunction
#44 - Added
TokenTreeCheckUtils.getMetadata()
andisModifier()
#44 - Added
TokenTreeCheckUtils.getBrOpenType()
andgetPOpenType()
#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 inFieldUtils
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
andfalse
as body of if #63 - Changed
getPos
to calculate full position of all childs #29 - Changed position of
enum
inenum abstract
#65 - Refactored
tempStore
handling and moved it toTokenStream
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 removeArray.concat
calls #66
tokentree v1.0.6
- Added
TokenTreeCheckUtils.isTypeEnumAbstract
#16 - Added FieldUtils #17
- Added
isComment
andisCIdent
toTokentTreeAccessHelper
#23 - Added
TokenTreeCheckUtils.isOpGtTypedefExtension
#24 - Added
TokenTreeCheckUtils.isBrOpenAnonTypeOrTypedef
#26 - Added
tempStore
toTokenStream
#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 incluideusing
#20