Author: abelevich
Date: 2008-10-30 06:17:36 -0400 (Thu, 30 Oct 2008)
New Revision: 10977
Removed:
trunk/sandbox/ui/editor/src/main/java/org/richfaces/antlr/HtmlSeamSample.java
trunk/sandbox/ui/editor/src/main/java/org/richfaces/antlr/html-seam.g
Log:
remove sample files
Deleted: trunk/sandbox/ui/editor/src/main/java/org/richfaces/antlr/HtmlSeamSample.java
===================================================================
---
trunk/sandbox/ui/editor/src/main/java/org/richfaces/antlr/HtmlSeamSample.java 2008-10-30
10:06:20 UTC (rev 10976)
+++
trunk/sandbox/ui/editor/src/main/java/org/richfaces/antlr/HtmlSeamSample.java 2008-10-30
10:17:36 UTC (rev 10977)
@@ -1,70 +0,0 @@
-/**
- * License Agreement.
- *
- * Rich Faces - Natural Ajax for Java Server Faces (JSF)
- *
- * Copyright (C) 2007 Exadel, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1 as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-package org.richfaces.antlr;
-
-import java.io.BufferedReader;
-import java.io.IOException;
-import java.io.InputStreamReader;
-import java.io.StringReader;
-
-import org.jboss.seam.text.SeamTextLexer;
-import org.jboss.seam.text.SeamTextParser;
-
-import antlr.ANTLRException;
-
-/*
- * html --> seam text sample
- *
- *
- */
-
-public class HtmlSeamSample {
-
- public static void main(String[] args) throws ANTLRException, IOException {
- System.out.println("Enter one or several lines of text. Type \"go\"
at new line when done");
- System.out.println();
-
- BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
-
- String line = "";
- String bufLine;
-
- while ((bufLine = in.readLine()) != null) {
- if (!"go".equals(bufLine)) {
- if (line.length() > 0) {
- line += "\n";
- }
- line += bufLine;
-
- } else {
-// SeamTextParser parser = new SeamTextParser(new SeamTextLexer(new
StringReader(line)));
- line = "";
- try {
-// parser.startRule();
-// System.out.println(parser.toString());
-
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
- }
- }
-}
Deleted: trunk/sandbox/ui/editor/src/main/java/org/richfaces/antlr/html-seam.g
===================================================================
--- trunk/sandbox/ui/editor/src/main/java/org/richfaces/antlr/html-seam.g 2008-10-30
10:06:20 UTC (rev 10976)
+++ trunk/sandbox/ui/editor/src/main/java/org/richfaces/antlr/html-seam.g 2008-10-30
10:17:36 UTC (rev 10977)
@@ -1,12 +0,0 @@
-header
-{
- package org.richfaces.antlr;
-}
-
-class HtmlSeamParser extends Parser;
-fooRule : "fooRule";
-
-
-class HtmlSeamLexer extends Lexer;
-HMTL : "html";
-
Show replies by date