XLANG/s 식
식은 일련의 연산자와 피연산자로 구성됩니다. 이 항목에서는 다양한 식을 지원하는 XLANG/s 구문에 대해 설명합니다.
다음 코드에서는 기본 식의 구문을 보여 줍니다.
primary-expression:
literal
enum-constant
variable-reference
invocation-expression
message-field-reference
message-property-reference
message-part-property-reference
correlation-property-reference
port-property-reference
service-property-reference
service-link-property-reference
message-part-reference
parenthesized-expression
object-reference
checked-expression
unchecked-expression
intrinsic-expression
xpath-expression
exists-expression
enum-constant:
enum-type-name.enum-member
enum-type-name:
type-name
enum-member:
identifier
parenthesized-expression:
(expression)
checked-expression:
checked(expression)
checked(statement)
unchecked-expression:
unchecked(expression)
unchecked(statement)
unary-expression:
primary-expression
+ unary-expression
- unary-expression
! unary-expression
~ unary-expression
cast-expression
property-reference exists
cast-expression:
(type-name) unary-expression
multiplicative-expression:
exists-expression
multiplicative-expression * unary-expression
multiplicative-expression / unary-expression
multiplicative-expression % unary-expression
additive-expression:
multiplicative-expression
additive-expression + multiplicative-expression
additive-expression – multiplicative-expression
shift-expression:
additive-expression
shift-expression << additive-expression
shift-expression >> additive-expression
relational-expression:
shift-expression
relational-expression < shift-expression
relational-expression > shift-expression
relational-expression <= shift-expression
relational-expression >= shift-expression
equality-expression:
relational-expression
equality-expression == relational-expression
equality-expression != relational-expression
and-expression:
equality-expression
and-expression & equality-expression
exclusive-or-expression:
and-expression
exclusive-or-expression ^ and-expression
inclusive-or-expression:
exclusive-or-expression
inclusive-or-expression | exclusive-or-expression
conditional-and-expression:
inclusive-or-expression
conditional-and-expression && inclusive-or-expression
conditional-or-expression:
conditional-and-expression
conditional-or-expression || conditional-and-expression
conditional-expression:
conditional-or-expression
exists-expression:
property-reference exists
property-reference exists message-reference
property-reference exists message-part-reference
xpath-expression:
xpath(message-part-reference, string-expression)
xpath(string-expression)
intrinsic-expression:
succeeded(identifier)
assignment-expression:
variable-assignment
object-assignment
variable-assignment:
variable-reference = conditional-expression
object-assignment:
object-reference = object-creation-expression
object-reference = conditional-expression
object-reference = invocation-expression
object-creation-expression:
new class-name(method-argument-list) //method-argument-list is optional
new class-name[integer-expression]
invocation-expression:
object-reference.method-name(method-argument-list) //method-argument-list is optional
다음 코드에서는 서비스 및 메서드 인수의 구문을 보여 줍니다.
service-argument-list:
service-argument
service-argument-list, service-argument
service-argument:
param-direction message-reference //param-direction is optional
param-direction variable-reference //param-direction is optional
param-direction object-name //param-direction is optional
correlation-reference
service-link-name
port-name
conditional-expression
method-argument-list:
method-argument
method-argument-list, method-argument
method-argument:
message-reference
param-direction variable-reference //param-direction is optional
param-direction object-name //param-direction is optional
conditional-expression
param-direction message-part-reference //param-direction is optional
param-direction message-field-reference //param-direction is optional
다음 코드에서는 최상위 식의 구문을 보여 줍니다.
expression:
conditional-expression
assignment-expression
invocation-expression
constant-expression:
conditional-expression
boolean-expression:
conditional-expression
integer-expression:
conditional-expression
date-time-expression:
conditional-expression
time-span--expression:
conditional-expression
string-expression:
conditional-expression
XLANG/s 데이터 형식
XLANG/s 문
XLANG/s 변수 및 연산자
XLANG/s 예약어
XLANG/s에서 BPEL4WS 형식으로 변환