Eric Waters > Thrift-Parser-0.04 > Thrift::IDL::Method

Download:
Thrift-Parser-0.04.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source   Latest Release: Thrift-Parser-0.06

NAME ^

Thrift::IDL::Method

DESCRIPTION ^

Inherits from Thrift::IDL::Base

METHODS ^

name

oneway

returns

arguments

throws

service

Scalar accessors

fields

Alias to arguments

field_named ($name)

argument_named ($name)

field_id ($id)

argument_id ($id)

Returns object found in named array with given key value

setup

A method arguments and throws has children of type Thrift::IDL::Field and Thrift::IDL::Comment. Walk through all these children and associate the comments with the fields that preceeded them (if perl style) or with the field following.

syntax highlighting: