KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jruby > compiler > FalseNodeCompiler


1 /*
2  * FalseNodeCompiler.java
3  *
4  * Created on January 12, 2007, 12:57 PM
5  *
6  * To change this template, choose Tools | Template Manager
7  * and open the template in the editor.
8  */

9
10 package org.jruby.compiler;
11
12 import org.jruby.ast.Node;
13
14 /**
15  *
16  * @author headius
17  */

18 public class FalseNodeCompiler implements NodeCompiler{
19     
20     /** Creates a new instance of FalseNodeCompiler */
21     public FalseNodeCompiler() {
22     }
23     
24     public void compile(Node node, Compiler JavaDoc context) {
25         context.lineNumber(node.getPosition());
26         
27         context.loadFalse();
28     }
29     
30 }
31
Popular Tags