001 package railo.runtime.type.scope; 002 003 import railo.runtime.type.Struct; 004 import railo.runtime.type.UDF; 005 006 public final class VariablesImpl extends ScopeSupport implements Variables { 007 008 public VariablesImpl() { 009 super("variables",SCOPE_VARIABLES,Struct.TYPE_REGULAR); 010 } 011 012 /** 013 * @see railo.runtime.type.scope.Variables#registerUDF(railo.runtime.type.Collection.Key, railo.runtime.type.UDF) 014 */ 015 public void registerUDF(Key key, UDF udf) { 016 017 018 setEL(key, udf); 019 } 020 021 public void registerUDF(String key, UDF udf) { 022 setEL(key, udf); 023 } 024 }