Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » General (non-technical) » EclipseCon » Can Not Find Type for Cross Reference
Can Not Find Type for Cross Reference [message #1014861] Tue, 26 February 2013 10:56
junior developer is currently offline junior developer
Messages: 335
Registered: January 2013
Senior Member
Hi,
I receive an error Sad I do not understand wrong section please help me !



import "http://www.eclipse.org/emf/2002/Ecore" as ecore

Expression returns Expr:
Concatenation;

Concatenation returns Expr:
Addition
({BinaryExpr.left=current} op=('&') right=Addition)*;

Addition returns Expr:
Multiplication
({BinaryExpr.left=current} op=('+' | '-') right=Multiplication)*;

Multiplication returns Expr:
PrimaryExpression
({BinaryExpr.left=current} op=('*' | '/') right=PrimaryExpression)*;

PrimaryExpression returns Expr:
'(' Expression ')' |
{NumberLiteral} value=NUMBER |
{StringLiteral} value=STRING |
{FunctionCall} func=[AbstractDefinition]//error :Cannot find type for '[AbstractDefinition]'
('(' args+=Expression (',' args+=Expression)* ')')?
;

terminal NUMBER returns ecore::EBigDecimal:
(('0'..'9')+ ('.' ('0'..'9')*)? | '.' ('0'..'9')+)
(('e' | 'E') ('+' | '-')? ('0'..'9')+)?;
Previous Topic:Xtext Terminal rule Error
Goto Forum:
  


Current Time: Tue Oct 08 04:23:19 EDT 2013

Powered by FUDForum. Page generated in 0.01631 seconds