From b90042ebc1f37fa5f911df54ce0d3827da074892 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Tue, 18 May 2010 08:52:24 +0200 Subject: major --- javascripts/State.js | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 javascripts/State.js (limited to 'javascripts/State.js') diff --git a/javascripts/State.js b/javascripts/State.js deleted file mode 100644 index 75258e7..0000000 --- a/javascripts/State.js +++ /dev/null @@ -1,20 +0,0 @@ -/* - * State - * - */ -function State(symbol) { - if(!symbol) { - symbol = EPSILON; - } - this.symbol = symbol; - this.followUps = []; - this.marked = false; -} - -State.prototype.mark = function(mark) { this.marked = mark } -State.prototype.getFollowUp = function(index) { return this.followUps[index] } -State.prototype.setFollowUp = function(index, state) { - if (!((index == 0) || (index==1)) ) return; - this.followUps[index] = state; -} - -- cgit v1.2.3