ASTIdentifier.java * Method support for identifiers : $foo * mainly used by ASTRefrence * Introspection is now moved to 'just in time' or at render / execution time. There are many reasons why this has to be done, but the primary two are thread safety, to remove any context-derived information from class member variables. *
Inheritance: NVelocity.Runtime.Parser.Node.SimpleNode
Ejemplo n.º 1
0
		public virtual Object Visit(ASTIdentifier node, Object data)
		{
			data = node.ChildrenAccept(this, data);
			return data;
		}
Ejemplo n.º 2
0
		/// <summary>Display an ASTIdentifier node
		/// </summary>
		public override Object Visit(ASTIdentifier node, Object data)
		{
			return ShowNode(node, data);
		}
Ejemplo n.º 3
0
	public virtual System.Object visit(ASTIdentifier node, System.Object data) {
	    data = node.childrenAccept(this, data);
	    return data;
	}
Ejemplo n.º 4
0
	/// <summary> This method corresponds to variable
	/// references in Velocity templates.
	/// The following are examples of variable
	/// references that may be found in a
	/// template:
	/// *
	/// $foo
	/// $bar
	/// *
	/// </summary>
	public void  Identifier() {
	    /*@bgen(jjtree) Identifier */
	    ASTIdentifier jjtn000 = new ASTIdentifier(this, ParserTreeConstants.JJTIDENTIFIER);
	    bool jjtc000 = true;
	    jjtree.openNodeScope(jjtn000);
	    try {
		jj_consume_token(ParserConstants.IDENTIFIER);
	    } finally {
		if (jjtc000) {
		    jjtree.closeNodeScope(jjtn000, true);
		}
	    }
	}
Ejemplo n.º 5
0
 /// <summary>Display an ASTIdentifier node
 /// </summary>
 public override System.Object visit(ASTIdentifier node, System.Object data)
 {
     return showNode(node, data);
 }