Project

General

Profile

Revision 8

Added by Willibald K. over 8 years ago

adding initial version of the AstBuilder feature, contributed by Stefan T.

View differences:

UnresolvedIdentifierExpression.java
21 21
  *               Stephan Zimmerer (AIT)
22 22
  *               Markus Demetz (AIT)
23 23
  *               Christoph Czurda (AIT)
24
  *               Stefan Tiran (AIT)
24 25
  *
25 26
  */
26 27

  
......
58 59
		m_tokenText = toCopy.m_tokenText;
59 60
	}
60 61

  
62
	public UnresolvedIdentifierExpression(String name, IScope aScope)
63
	{
64
		super (null, 0, 0);
65
		m_kind = ExpressionKind.UnresolvedIdentifier;
66
		m_tokenText = name;
67
		m_scope = aScope;
68
	}
69

  
70

  
61 71
	@Override
62
	public /*override*/ Expression Clone()
72
	public Expression Clone()
63 73
	{
64 74
		return new UnresolvedIdentifierExpression(this);
65 75
	}
66 76

  
67
	public /*override*/ void Accept(IAstVisitor visitor)
77

  
78
	@Override
79
	public void Accept(IAstVisitor visitor)
68 80
	{
69 81
		visitor.visit(this);
70 82
	}

Also available in: Unified diff