mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-12 22:42:23 +00:00
8ff885a3a8
Closes #17 Implements the IsGenerated helper function to filter out generated files using the rules and matchers in: - https://github.com/github/linguist/blob/master/lib/linguist/generated.rb Since the vast majority of matchers have very different logic, it cannot be autogenerated directly from linguist like other logics in enry, so it's translated by hand. There are three different types of matchers in this implementation: - By extension, which mark as generated based only in the extension. These are the fastest matchers, so they're done first. - By file name, which matches patterns against the filename. These are performed in second place. Unlike linguist, we try to use string functions instead of regexps as much as possible. - Finally, the rest of the matchers, which go into the content and try to identify if they're generated or not based on the content. Unlike linguist, we try to only read the content we need and not split it all unless it's necessary and use byte functions instead of regexps as much as possible. Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
38 lines
784 B
C#
38 lines
784 B
C#
// Generated by Haxe 4.0.5
|
|
|
|
#pragma warning disable 109, 114, 219, 429, 168, 162
|
|
public class EntryPoint__Main {
|
|
public static void Main() {
|
|
global::cs.Boot.init();
|
|
{
|
|
global::Main.main();
|
|
}
|
|
}
|
|
}
|
|
|
|
public class Main : global::haxe.lang.HxObject {
|
|
|
|
public Main(global::haxe.lang.EmptyObject empty) {
|
|
}
|
|
|
|
|
|
public Main() {
|
|
global::Main.__hx_ctor__Main(this);
|
|
}
|
|
|
|
|
|
protected static void __hx_ctor__Main(global::Main __hx_this) {
|
|
}
|
|
|
|
|
|
public static void main() {
|
|
unchecked {
|
|
global::haxe.Log.trace.__hx_invoke2_o(default(double), "Hello World", default(double), new global::haxe.lang.DynamicObject(new int[]{302979532, 1547539107, 1648581351}, new object[]{"main", "Main", "source/Main.hx"}, new int[]{1981972957}, new double[]{((double) (3) )}));
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|