Revision 12
Added by over 7 years ago
JavaExpression.java | ||
---|---|---|
184 | 184 |
@Override |
185 | 185 |
public void visit(TypeExpression typeExpression) |
186 | 186 |
{ |
187 |
if (typeExpression.type().kind() != TypeKind.EnumeratedType)
|
|
188 |
m_emitter.Append(GetIdentifierString(typeExpression.type().identifier().tokenText()));
|
|
187 |
if (typeExpression.referredType().kind() != TypeKind.EnumeratedType)
|
|
188 |
m_emitter.Append(GetIdentifierString(typeExpression.referredType().identifier().tokenText()));
|
|
189 | 189 |
} |
190 | 190 |
|
191 | 191 |
|
... | ... | |
315 | 315 |
@Override |
316 | 316 |
public void visit(AccessExpression accessExpression) |
317 | 317 |
{ |
318 |
if (accessExpression.left().type().kind() != TypeKind.EnumeratedType) |
|
318 |
if (accessExpression.left().type().kind() != TypeKind.MetaType) |
|
319 |
// if (accessExpression.left().type().kind() != TypeKind.EnumeratedType) |
|
319 | 320 |
{ |
320 | 321 |
// enums and qr types are directly (statically) converted to nums... |
321 | 322 |
VisitSub(accessExpression.left(), accessExpression); |
Also available in: Unified diff
latest version of the ooas compiler, with grammar version 1.10