You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by wg...@apache.org on 2005/03/25 06:10:27 UTC

svn commit: r158989 - jakarta/velocity/trunk/docs/specification-ast.html

Author: wglass
Date: Thu Mar 24 21:10:25 2005
New Revision: 158989

URL: http://svn.apache.org/viewcvs?view=rev&rev=158989
Log:
updated spacing (now in synx with xdocs)

Modified:
    jakarta/velocity/trunk/docs/specification-ast.html

Modified: jakarta/velocity/trunk/docs/specification-ast.html
URL: http://svn.apache.org/viewcvs/jakarta/velocity/trunk/docs/specification-ast.html?view=diff&r1=158988&r2=158989
==============================================================================
--- jakarta/velocity/trunk/docs/specification-ast.html (original)
+++ jakarta/velocity/trunk/docs/specification-ast.html Thu Mar 24 21:10:25 2005
@@ -205,128 +205,128 @@
 
 
 block
-	:
-		#(	BLOCK
-				(statement)*
-		)
+    :
+        #(  BLOCK
+                (statement)*
+        )
 
-	;
+    ;
 statement
-	:
-			text
-		|	if_statement
-		|	foreach_statement
-		|	include_statement
-		|	set_statement
-		|	parse_statement
-		|	param_statement
-		|	stop_statement
-		|	reference
-	;
+    :
+            text
+        |   if_statement
+        |   foreach_statement
+        |   include_statement
+        |   set_statement
+        |   parse_statement
+        |   param_statement
+        |   stop_statement
+        |   reference
+    ;
 
 
 text
-	:
-		TEXT
-	;
-
-//	if/elseif/else chains should be represented solely
-//	by <if_statement>.  <elseif> is simply an <if_statement>
-//	in the false-branch of the preceeding <if_statement>
-//	while <else> is simply an <if_statement> where the
-//	<expr> evaluates to TRUE always, and no false-branch
-//	is provided.
+    :
+        TEXT
+    ;
+
+//  if/elseif/else chains should be represented solely
+//  by <if_statement>.  <elseif> is simply an <if_statement>
+//  in the false-branch of the preceeding <if_statement>
+//  while <else> is simply an <if_statement> where the
+//  <expr> evaluates to TRUE always, and no false-branch
+//  is provided.
 
 if_statement
-	:
-		#(	IF
-				// The expression to test
-				expr
-
-				// True branch
-				block
-
-				// False branch
-				( block )?
-		)
-	;
+    :
+        #(  IF
+                // The expression to test
+                expr
+
+                // True branch
+                block
+
+                // False branch
+                ( block )?
+        )
+    ;
 
 foreach_statement
-	:
-		#(	FOREACH
-				// Value to assign for each iteration
-				reference
-				// List of objects to iterator
-				reference
-				// command-block to execute
-				( block )?
-		)
-	;
+    :
+        #(  FOREACH
+                // Value to assign for each iteration
+                reference
+                // List of objects to iterator
+                reference
+                // command-block to execute
+                ( block )?
+        )
+    ;
 
 set_statement
-	:
-		#(	SET
-				// Variable to set
-				reference
-				// Value to assign
-				expr
-	;
+    :
+        #(  SET
+                // Variable to set
+                reference
+                // Value to assign
+                expr
+    ;
 
 parse_statement
-	:
-		#(	PARSE
-				STRING_LITERAL
-		)
-	;
+    :
+        #(  PARSE
+                STRING_LITERAL
+        )
+    ;
 
 include_statement
-	:
-		#(	INCLUDE
-				STRING_LITERAL
-		)
-	;
+    :
+        #(  INCLUDE
+                STRING_LITERAL
+        )
+    ;
 
 stop_statement
-	:
-		STOP
-	;
+    :
+        STOP
+    ;
 
 reference
-	:
-		#(	REFERENCE
-				postfix
-	;
+    :
+        #(  REFERENCE
+                postfix
+    ;
 
 postfix
-	:
-		method_call
-		|
-		member
-		|
-		identifier
-	;
+    :
+        method_call
+        |
+        member
+        |
+        identifier
+    ;
 
 member
-	:
-		#(	DOT
-				identifier
-				(	primary
-				|	method_call
-				)	
-	;
+    :
+        #(  DOT
+                identifier
+                (   primary
+                |   method_call
+                )   
+    ;
 
 primary
-	:
-		IDENTIFIER
-	;
+    :
+        IDENTIFIER
+    ;
 
 method_call
-		#(	CALL
-				postfix
-				// The argument list
-				( expr ) *
-		)
-	;
+        #(  CALL
+                postfix
+                // The argument list
+                ( expr ) *
+        )
+    ;
 </pre></td>
       <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
     </tr>



---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org