Revision 12
Added by over 7 years ago
OoaPrintVisitor.java | ||
---|---|---|
78 | 78 |
import org.momut.ooas.ast.types.IntType; |
79 | 79 |
import org.momut.ooas.ast.types.ListType; |
80 | 80 |
import org.momut.ooas.ast.types.MapType; |
81 |
import org.momut.ooas.ast.types.MetaType; |
|
81 | 82 |
import org.momut.ooas.ast.types.NullType; |
82 | 83 |
import org.momut.ooas.ast.types.OoActionSystemType; |
83 | 84 |
import org.momut.ooas.ast.types.OpaqueType; |
... | ... | |
408 | 409 |
output.Append("nil"); |
409 | 410 |
} |
410 | 411 |
|
412 |
@Override |
|
413 |
public void visit(MetaType metaType) { |
|
414 |
output.Append("type of "); |
|
415 |
super.visit(metaType); |
|
416 |
} |
|
411 | 417 |
|
418 |
|
|
412 | 419 |
@Override |
413 | 420 |
public void visit(AttributeIdentifier attributeIdentifier) |
414 | 421 |
{ |
... | ... | |
651 | 658 |
@Override |
652 | 659 |
public void visit(TypeExpression typeExpression) |
653 | 660 |
{ |
654 |
PrintSubElementOrNull(typeExpression.type());
|
|
661 |
PrintSubElementOrNull(typeExpression.referredType());
|
|
655 | 662 |
} |
656 | 663 |
|
657 | 664 |
@Override |
Also available in: Unified diff
latest version of the ooas compiler, with grammar version 1.10