clang API Documentation

clang::driver::PositionalArg Class Reference

PositionalArg - A simple positional argument. More...

#include <Arg.h>

Inheritance diagram for clang::driver::PositionalArg:
Inheritance graph
[legend]
Collaboration diagram for clang::driver::PositionalArg:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PositionalArg (const Option *Opt, unsigned Index, const Arg *BaseArg=0)
virtual void render (const ArgList &Args, ArgStringList &Output) const
 render - Append the argument onto the given array as strings.
virtual unsigned getNumValues () const
virtual const char * getValue (const ArgList &Args, unsigned N=0) const

Static Public Member Functions

static bool classof (const Arg *A)
static bool classof (const PositionalArg *)

Detailed Description

PositionalArg - A simple positional argument.

Definition at line 134 of file Arg.h.


Constructor & Destructor Documentation

PositionalArg::PositionalArg ( const Option Opt,
unsigned  Index,
const Arg BaseArg = 0 
)

Definition at line 90 of file Arg.cpp.


Member Function Documentation

static bool clang::driver::PositionalArg::classof ( const PositionalArg  )  [inline, static]

Definition at line 146 of file Arg.h.

static bool clang::driver::PositionalArg::classof ( const Arg A  )  [inline, static]

Reimplemented from clang::driver::Arg.

Definition at line 143 of file Arg.h.

References clang::driver::Arg::getKind(), and clang::driver::Arg::PositionalClass.

virtual unsigned clang::driver::PositionalArg::getNumValues (  )  const [inline, virtual]

Implements clang::driver::Arg.

Definition at line 140 of file Arg.h.

Referenced by getValue().

const char * PositionalArg::getValue ( const ArgList Args,
unsigned  N = 0 
) const [virtual]
void PositionalArg::render ( const ArgList Args,
ArgStringList Output 
) const [virtual]

render - Append the argument onto the given array as strings.

Implements clang::driver::Arg.

Definition at line 95 of file Arg.cpp.

References clang::driver::ArgList::getArgString(), and clang::driver::Arg::getIndex().


The documentation for this class was generated from the following files: