File: FixedTokenEvaluable.java

package info (click to toggle)
liblessen-java 1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 276 kB
  • sloc: java: 2,981; xml: 31; makefile: 5
file content (19 lines) | stat: -rw-r--r-- 364 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.metaweb.lessen.expr;

import com.metaweb.lessen.Scope;
import com.metaweb.lessen.tokens.Token;


public class FixedTokenEvaluable implements Evaluable {
    final protected Token _token;
    
    public FixedTokenEvaluable(Token token) {
        _token = token;
    }

    @Override
    public Token eval(Scope scope) {
        return _token;
    }

}