1 package com.genimen.djeneric.tools.generator.core.nodes; 2 3 import com.genimen.djeneric.tools.generator.core.DjentelParserEngine; 4 import com.genimen.djeneric.tools.generator.core.SimpleNode; 5 import com.genimen.djeneric.tools.generator.core.util.ParseContext; 6 7 public class NullNode extends SimpleNode implements ValueExpression 8 { 9 10 public NullNode(int i) 11 { 12 super(i); 13 } 14 15 public NullNode(DjentelParserEngine p, int i) 16 { 17 super(p, i); 18 } 19 20 public String getName() 21 { 22 return "null"; 23 } 24 25 public String toString() 26 { 27 return "null"; 28 } 29 30 public Object getValue(ParseContext context) 31 { 32 return null; 33 } 34 35 } | Popular Tags |