| java.lang.Object tide.syntaxtree.TreeFunctions
TreeFunctions | final public class TreeFunctions (Code) | | Some collected functions acting on the whole tree or branches.
(removing trailing spaces, parsing to see warnings...)
|
detectSourcesWithoutType | public static boolean detectSourcesWithoutType(Code) | | |
detectSourcesWithoutTypeOfSameName | public static boolean detectSourcesWithoutTypeOfSameName(Code) | | |
createDetectDependenciesThread | public static Thread createDetectDependenciesThread(List<SourceFile> sfs, boolean writeOut)(Code) | | The thread must be launched with start() after creation.
|
parse | public static int[] parse(FileItem f, boolean onlyRawParse)(Code) | | the number of warnings. |
parse2 | public static int[] parse2(FileItem f, boolean onlyRawParse)(Code) | | the number of warnings.AST dev trick: search in the DumpVisitor to find out where the items araises... |
parseAllToSearchForProblems | public static void parseAllToSearchForProblems(List<SourceFile> sfs, boolean onlyRawParse)(Code) | | Parses all files, searching for syntax problems and write them.
REMARK: this allow us to see that the parse tree have NO memory leak !
parsing 2500 files don't leaks !
|
parseAllToSearchForProblems2 | public static void parseAllToSearchForProblems2(List<SourceFile> sfs, boolean onlyRawParse)(Code) | | Parses all files, searching for syntax problems and write them.
REMARK: this allow us to see that the parse tree have NO memory leak !
parsing 2500 files don't leaks !
|
removeTailingSpaces | public static void removeTailingSpaces(List<SourceFile> sfs)(Code) | | Removes the tailing spaces at the end of the lines + trim the source.
TODO: don't work on files opened in the editor ...
|
|
|