com.atlassian.greenhopper.soy
Class ContextFunction

java.lang.Object
  extended by com.atlassian.greenhopper.soy.ContextFunction
All Implemented Interfaces:
com.google.template.soy.jssrc.restricted.SoyJsSrcFunction, com.google.template.soy.shared.restricted.SoyFunction

@Singleton
public class ContextFunction
extends java.lang.Object
implements com.google.template.soy.jssrc.restricted.SoyJsSrcFunction

Copied from JIRA. TODO replace with theirs once we move to 4.4

Author:
ahennecke

Constructor Summary
ContextFunction()
           
 
Method Summary
 com.google.template.soy.jssrc.restricted.JsExpr computeForJsSrc(java.util.List<com.google.template.soy.jssrc.restricted.JsExpr> args)
           
 java.lang.String getName()
           
 java.util.Set<java.lang.Integer> getValidArgsSizes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextFunction

public ContextFunction()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface com.google.template.soy.shared.restricted.SoyFunction

getValidArgsSizes

public java.util.Set<java.lang.Integer> getValidArgsSizes()
Specified by:
getValidArgsSizes in interface com.google.template.soy.shared.restricted.SoyFunction

computeForJsSrc

public com.google.template.soy.jssrc.restricted.JsExpr computeForJsSrc(java.util.List<com.google.template.soy.jssrc.restricted.JsExpr> args)
Specified by:
computeForJsSrc in interface com.google.template.soy.jssrc.restricted.SoyJsSrcFunction


Copyright © 2007-2011 Atlassian. All Rights Reserved.