mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
v2.11.1.1
This commit is contained in:
@@ -16,7 +16,7 @@ You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package gplx.gfml; import gplx.*;
|
||||
import gplx.texts.*; /*CharStream*/
|
||||
import gplx.core.texts.*; /*CharStream*/
|
||||
public interface GfmlLxr extends GfoEvObj {
|
||||
String Key();
|
||||
String[] Hooks();
|
||||
|
||||
@@ -17,7 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package gplx.gfml; import gplx.*;
|
||||
import gplx.core.strings.*;
|
||||
import gplx.texts.*; /*CharStream*/
|
||||
import gplx.core.texts.*; /*CharStream*/
|
||||
public class GfmlLxr_ {
|
||||
public static GfmlLxr general_(String key, GfmlTkn protoTkn) {return GfmlLxr_general.new_(key, protoTkn);}
|
||||
public static GfmlLxr solo_(String key, GfmlTkn singletonTkn) {return GfmlLxr_singleton.new_(key, singletonTkn.Raw(), singletonTkn);}
|
||||
|
||||
@@ -16,7 +16,7 @@ You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package gplx.gfml; import gplx.*;
|
||||
import gplx.texts.*; /*CharStream*/
|
||||
import gplx.core.texts.*; /*CharStream*/
|
||||
public class GfmlTrie {
|
||||
public String[] Symbols() {
|
||||
String[] rv = new String[symbols.Count()];
|
||||
|
||||
@@ -16,7 +16,7 @@ You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package gplx.gfml; import gplx.*;
|
||||
import gplx.texts.*; /*CharStream*/
|
||||
import gplx.core.texts.*; /*CharStream*/
|
||||
public class GfmlBldr {
|
||||
@gplx.Internal protected GfmlDoc Doc() {return gdoc;} GfmlDoc gdoc = GfmlDoc.new_();
|
||||
@gplx.Internal protected GfmlFrame CurFrame() {return curFrame;} GfmlFrame curFrame;
|
||||
|
||||
@@ -17,7 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package gplx.gfml; import gplx.*;
|
||||
import org.junit.*;
|
||||
import gplx.texts.*; /*CharStream*/
|
||||
import gplx.core.texts.*; /*CharStream*/
|
||||
public class z012_GfmlTrie_tst {
|
||||
@Before public void setup() {
|
||||
trie = GfmlTrie.new_();
|
||||
|
||||
@@ -17,7 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package gplx.gfml; import gplx.*;
|
||||
import org.junit.*;
|
||||
import gplx.texts.*; /*CharStream*/
|
||||
import gplx.core.texts.*; /*CharStream*/
|
||||
public class z091_GfmlLxr_basic_tst {
|
||||
@Before public void setup() {
|
||||
rootLxr = GfmlLxr_.general_("gfml.root", GfmlTkn_.cmd_("tkn:text", GfmlBldrCmd_.Null));
|
||||
|
||||
@@ -29,7 +29,7 @@ public class z901_perf_tst {
|
||||
// sbXml.Add(longText);
|
||||
// sbXml.Add("/>");
|
||||
// tmr.Bgn();
|
||||
// gplx.xmls.XmlDoc_.parse(sbXml.To_str());
|
||||
// gplx.langs.xmls.XmlDoc_.parse(sbXml.To_str());
|
||||
// tmr.End_and_print("xml"); // 400
|
||||
|
||||
String_bldr sbGfml = String_bldr_.new_();
|
||||
@@ -40,7 +40,7 @@ public class z901_perf_tst {
|
||||
// sbGfml.Add(longText);
|
||||
}
|
||||
// tmr.Bgn();
|
||||
// gplx.texts.CharStream.pos0_(sbGfml.To_str());
|
||||
// gplx.core.texts.CharStream.pos0_(sbGfml.To_str());
|
||||
// tmr.End_and_print("char"); // 1700
|
||||
|
||||
tmr.Bgn();
|
||||
|
||||
Reference in New Issue
Block a user