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:

EnumIdentifier.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

  
......
49 50
		haveValue = false;
50 51
	}
51 52

  
53
	public EnumIdentifier(String range,
54
			EnumType aType,
55
			IScope aDefiningScope)
56
	{
57
		super(range, aType, IdentifierKind.EnumIdentifier, aDefiningScope);
58
		haveValue = false;
59
	}
52 60

  
53 61
	public EnumIdentifier(Token aToken,
54 62
			int aValue,
......
70 78

  
71 79

  
72 80
	@Override
73
	public /*override*/ Identifier Clone()
81
	public Identifier Clone()
74 82
	{
75 83
		return this;
76 84
	}
77 85

  
78
	public /*override*/ void Accept(IAstVisitor visitor)
86
	@Override
87
	public void Accept(IAstVisitor visitor)
79 88
	{
80 89
		visitor.visit(this);
81 90
	}

Also available in: Unified diff