ROSE 0.11.145.147
Public Types | Public Member Functions | List of all members
SageInterface::Ada::IfInfo< SageLocatedNode > Struct Template Reference

Description

template<class SageLocatedNode>
struct SageInterface::Ada::IfInfo< SageLocatedNode >

represents a branch in an if elsif else context (either statement or expression).

Definition at line 289 of file sageInterfaceAda.h.

#include <sageInterface/sageInterfaceAda.h>

Inheritance diagram for SageInterface::Ada::IfInfo< SageLocatedNode >:
Inheritance graph
[legend]
Collaboration diagram for SageInterface::Ada::IfInfo< SageLocatedNode >:
Collaboration graph
[legend]

Public Types

using base = std::tuple< SgExpression *, SageLocatedNode * >
 

Public Member Functions

SgExpressioncondition () const
 
SageLocatedNode * trueBranch () const
 
bool isElse () const
 

Member Typedef Documentation

◆ base

template<class SageLocatedNode >
using SageInterface::Ada::IfInfo< SageLocatedNode >::base = std::tuple<SgExpression*, SageLocatedNode*>

Definition at line 291 of file sageInterfaceAda.h.

Member Function Documentation

◆ condition()

template<class SageLocatedNode >
SgExpression * SageInterface::Ada::IfInfo< SageLocatedNode >::condition ( ) const
inline

Definition at line 294 of file sageInterfaceAda.h.

◆ trueBranch()

template<class SageLocatedNode >
SageLocatedNode * SageInterface::Ada::IfInfo< SageLocatedNode >::trueBranch ( ) const
inline

Definition at line 295 of file sageInterfaceAda.h.

◆ isElse()

template<class SageLocatedNode >
bool SageInterface::Ada::IfInfo< SageLocatedNode >::isElse ( ) const
inline

Definition at line 296 of file sageInterfaceAda.h.


The documentation for this struct was generated from the following file: