mirror of
				https://gitee.com/BDWare/genparser
				synced 2025-11-03 21:22:15 +00:00 
			
		
		
		
	Pre Merge pull request !1 from Alex家的兔子/lyh_dev
This commit is contained in:
		
						commit
						8444b2a764
					
				@ -168,6 +168,7 @@ Import:                         'import';
 | 
				
			|||||||
Contract:						'contract';
 | 
					Contract:						'contract';
 | 
				
			||||||
Module:							'module';
 | 
					Module:							'module';
 | 
				
			||||||
Oracle:                         'oracle';
 | 
					Oracle:                         'oracle';
 | 
				
			||||||
 | 
					DoipModule:                     'doipmodule';
 | 
				
			||||||
/// The following tokens are also considered to be FutureReservedWords 
 | 
					/// The following tokens are also considered to be FutureReservedWords 
 | 
				
			||||||
/// when parsing strict mode
 | 
					/// when parsing strict mode
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -38,7 +38,7 @@ program
 | 
				
			|||||||
    ;
 | 
					    ;
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
contractDeclar
 | 
					contractDeclar
 | 
				
			||||||
	: annotations? (Contract|Module|Oracle) Identifier  '{' clzOrFunctionDeclaration+ '}'
 | 
						: annotations? (Contract|Module|Oracle|DoipModule) Identifier  '{' clzOrFunctionDeclaration+ '}'
 | 
				
			||||||
	;
 | 
						;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
annotations
 | 
					annotations
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user