summaryrefslogtreecommitdiff
path: root/tests/examplefiles/example.java
diff options
context:
space:
mode:
authorAlexei Sholik <alcosholik@gmail.com>2014-06-05 04:07:19 +0300
committerAlexei Sholik <alcosholik@gmail.com>2014-06-05 04:07:19 +0300
commitdb1e5ef0852069e7a471e990e6024fdf1b9b8a61 (patch)
treea406476c1d6dd2e64df74b86eae10e376ebd5993 /tests/examplefiles/example.java
downloadpygments-git-db1e5ef0852069e7a471e990e6024fdf1b9b8a61.tar.gz
Update ElixirLexer and example_elixir.ex
Elixir syntax has evolved quite significantly since the initial lexer was written. In this update I have rewritten most of the code to support modern Elixir (as of v0.14.0-dev). The example file has also been updated to give an quick overview of most of the language constructs.
Diffstat (limited to 'tests/examplefiles/example.java')
-rw-r--r--tests/examplefiles/example.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/examplefiles/example.java b/tests/examplefiles/example.java
new file mode 100644
index 00000000..f2e94322
--- /dev/null
+++ b/tests/examplefiles/example.java
@@ -0,0 +1,16 @@
+class _PostUnico$deClassá
+{void fo$o() {}
+
+ void PostUnicodeFunctioná() {
+ láb$el:
+ break láb$el;
+
+ }
+}
+
+class áPreUnicode$Class
+{
+ public int $foo;
+ public int á$foo;
+ _PostUnico$deClassá áPreUnicodeFunction() { return null; }
+}