Package com.facebook.swift.parser.model

Examples of com.facebook.swift.parser.model.Union


    }

    @Override
    public void visit(final Visitable visitable) throws IOException
    {
        final Union union = Union.class.cast(visitable);
        final StructContext unionContext = contextGenerator.structFromThrift(union);

        for (final ThriftField field : union.getFields()) {
            unionContext.addField(contextGenerator.fieldFromThrift(field));
        }

        render(unionContext, "union");
    }
View Full Code Here

TOP

Related Classes of com.facebook.swift.parser.model.Union

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.