Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Decompilation of useadminmappings.cfm
package shared.scratch.blogexamples.cfml.customtags.paths.importmappings;
import lucee.runtime.CIPage;
import lucee.runtime.Page;
import lucee.runtime.PageContext;
import lucee.runtime.PageContextImpl;
import lucee.runtime.PageSource;
import lucee.runtime.component.ImportDefintion;
import lucee.runtime.exp.Abort;
import lucee.runtime.exp.PageException;
import lucee.runtime.tag.CFImportTag;
import lucee.runtime.tag.ImportTag;
import lucee.runtime.type.Collection.Key;
import lucee.runtime.type.KeyImpl;
import lucee.runtime.type.UDF;
import lucee.runtime.type.UDFProperties;
public final class useadminmappings_cfm$cf
extends Page
{
private final ImportDefintion[] imports;
private Collection.Key[] keys;
private final CIPage[] subs;
public useadminmappings_cfm$cf(PageSource paramPageSource)
{
initKeys();
this.imports = new ImportDefintion[0];
this.udfs = new UDFProperties[0];
setPageSource(paramPageSource);
}
public final long getVersion()
{
return 5969761176113770383L;
}
public final ImportDefintion[] getImportDefintions()
{
return new ImportDefintion[0];
}
public final long getSourceLastModified()
{
return 1431955633594L;
}
public final long getCompileTime()
{
return 1431955849806L;
}
public final Object call(PageContext paramPageContext)
throws Throwable
{
paramPageContext.write("\n");ImportTag localImportTag = (ImportTag)((PageContextImpl)paramPageContext).use("lucee.runtime.tag.ImportTag", "cfimport", 0);
try
{
localImportTag.setTaglib("/tags/");localImportTag.setPrefix("t");localImportTag.doStartTag();
if (localImportTag.doEndTag() == 5) {
throw Abort.newInstance(0);
}
}
finally
{
((PageContextImpl)paramPageContext).reuse(localImportTag);
}
paramPageContext.write("\n");CFImportTag localCFImportTag = (CFImportTag)((PageContextImpl)paramPageContext).use("lucee.runtime.tag.CFImportTag", "t:", 1);
try
{
localCFImportTag.setAppendix("tag");localCFImportTag.hasBody(false);localCFImportTag.setDynamicAttribute(null, this.keys[0], "/tags/");localCFImportTag.doStartTag();
if (localCFImportTag.doEndTag() == 5) {
throw Abort.newInstance(0);
}
}
finally
{
((PageContextImpl)paramPageContext).reuse(localCFImportTag);
}
paramPageContext.write("");return null;
}
public final Object udfCall(PageContext paramPageContext, UDF paramUDF, int paramInt)
throws Throwable
{
return null;
}
public final void threadCall(PageContext paramPageContext, int paramInt)
throws Throwable
{}
public final Object udfDefaultValue(PageContext paramPageContext, int paramInt1, int paramInt2, Object paramObject)
throws PageException
{
return paramObject;
}
private final void initKeys()
{
this.keys = new Collection.Key[] { KeyImpl.intern("__custom_tag_path") };
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.