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
Beispiel #1
0
		public virtual Object Visit(ASTIdentifier node, Object data)
		{
			data = node.ChildrenAccept(this, data);
			return data;
		}
Beispiel #2
0
		/// <summary>Display an ASTIdentifier node
		/// </summary>
		public override Object Visit(ASTIdentifier node, Object data)
		{
			return ShowNode(node, data);
		}
	public virtual System.Object visit(ASTIdentifier node, System.Object data) {
	    data = node.childrenAccept(this, data);
	    return data;
	}
Beispiel #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);
		}
	    }
	}
Beispiel #5
0
 /// <summary>Display an ASTIdentifier node
 /// </summary>
 public override System.Object visit(ASTIdentifier node, System.Object data)
 {
     return showNode(node, data);
 }