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
コード例 #1
0
ファイル: BaseVisitor.cs プロジェクト: rambo-returns/MonoRail
		public virtual Object Visit(ASTIdentifier node, Object data)
		{
			data = node.ChildrenAccept(this, data);
			return data;
		}
コード例 #2
0
		/// <summary>Display an ASTIdentifier node
		/// </summary>
		public override Object Visit(ASTIdentifier node, Object data)
		{
			return ShowNode(node, data);
		}
コード例 #3
0
	public virtual System.Object visit(ASTIdentifier node, System.Object data) {
	    data = node.childrenAccept(this, data);
	    return data;
	}
コード例 #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);
		}
	    }
	}
コード例 #5
0
ファイル: NodeViewMode.cs プロジェクト: DF-thangld/web_game
 /// <summary>Display an ASTIdentifier node
 /// </summary>
 public override System.Object visit(ASTIdentifier node, System.Object data)
 {
     return showNode(node, data);
 }