public class JrpcgenUnionArm extends Object
JrpcgenUnionArm class represents a single union arm defined
for a particular union in an rpcgen "x"-file.| Modifier and Type | Field and Description |
|---|---|
JrpcgenDeclaration |
element
Attribute element of descriminated arm (of class
JrpcgenDeclaration). |
String |
value
Value for which the descriminated union arm is valid.
|
| Constructor and Description |
|---|
JrpcgenUnionArm(String value,
JrpcgenDeclaration element)
Constructs a
JrpcgenUnionArm and sets decrimated arm's
value and the associated attribute element. |
public String value
public JrpcgenDeclaration element
JrpcgenDeclaration).public JrpcgenUnionArm(String value, JrpcgenDeclaration element)
JrpcgenUnionArm and sets decrimated arm's
value and the associated attribute element.value - Value for which descriminated arm is valid.element - Descriminated arm element of class
JrpcgenDeclaration.Copyright © 2014. All Rights Reserved.