GNU Octave 10.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 
Loading...
Searching...
No Matches
tree_classdef Class Reference

#include "pt-classdef.h"

Inheritance diagram for tree_classdef:
tree_command tree

Public Member Functions

 tree_classdef (const symbol_scope &scope, const token &cdef_tok, tree_classdef_attribute_list *a, tree_identifier *i, tree_classdef_superclass_list *sc, tree_classdef_body *b, const token &end_tok, const std::string &pn="", const std::string &fn="")
 
 ~tree_classdef ()
 
void accept (tree_walker &tw)
 
tree_classdef_attribute_listattribute_list ()
 
filepos beg_pos () const
 
tree_classdef_bodybody ()
 
std::string doc_string () const
 
filepos end_pos () const
 
std::string file_name () const
 
tree_identifierident ()
 
comment_list leading_comments () const
 
octave_value make_meta_class (interpreter &interp, bool is_at_folder=false)
 
std::string package_name () const
 
symbol_scope scope ()
 
tree_classdef_superclass_listsuperclass_list ()
 
- Public Member Functions inherited from tree_command
 tree_command ()=default
 
virtual ~tree_command ()=default
 
virtual void update_end_pos (const filepos &)
 
- Public Member Functions inherited from tree
 tree ()
 
virtual ~tree ()=default
 
const std::string bp_cond () const
 
virtual int column () const
 
virtual void delete_breakpoint ()
 
bool is_active_breakpoint (tree_evaluator &tw) const
 
bool is_breakpoint () const
 
virtual int line () const
 
bool meets_bp_condition (tree_evaluator &tw) const
 
virtual void set_breakpoint (const std::string &condition)
 
std::string str_print_code ()
 

Detailed Description

Definition at line 695 of file pt-classdef.h.

Constructor & Destructor Documentation

◆ tree_classdef()

tree_classdef::tree_classdef ( const symbol_scope scope,
const token cdef_tok,
tree_classdef_attribute_list a,
tree_identifier i,
tree_classdef_superclass_list sc,
tree_classdef_body b,
const token end_tok,
const std::string &  pn = "",
const std::string &  fn = "" 
)
inline

Definition at line 699 of file pt-classdef.h.

◆ ~tree_classdef()

tree_classdef::~tree_classdef ( )
inline

Definition at line 707 of file pt-classdef.h.

Member Function Documentation

◆ accept()

void tree_classdef::accept ( tree_walker tw)
inlinevirtual

Implements tree.

Definition at line 741 of file pt-classdef.h.

References tree_walker::visit_classdef().

Referenced by base_parser::finish_classdef_file().

◆ attribute_list()

tree_classdef_attribute_list * tree_classdef::attribute_list ( )
inline

Definition at line 721 of file pt-classdef.h.

Referenced by cdef_class::make_meta_class(), and tree_walker::visit_classdef().

◆ beg_pos()

filepos tree_classdef::beg_pos ( ) const
inlinevirtual

Implements tree.

Definition at line 715 of file pt-classdef.h.

References token::beg_pos().

◆ body()

tree_classdef_body * tree_classdef::body ( )
inline

Definition at line 728 of file pt-classdef.h.

Referenced by cdef_class::make_meta_class(), and tree_walker::visit_classdef().

◆ doc_string()

std::string tree_classdef::doc_string ( ) const
inline

Definition at line 739 of file pt-classdef.h.

Referenced by cdef_class::make_meta_class().

◆ end_pos()

filepos tree_classdef::end_pos ( ) const
inlinevirtual

Implements tree.

Definition at line 716 of file pt-classdef.h.

References token::end_pos().

◆ file_name()

std::string tree_classdef::file_name ( ) const
inline

Definition at line 734 of file pt-classdef.h.

Referenced by cdef_class::make_meta_class().

◆ ident()

tree_identifier * tree_classdef::ident ( )
inline

Definition at line 723 of file pt-classdef.h.

Referenced by cdef_class::make_meta_class(), and tree_walker::visit_classdef().

◆ leading_comments()

comment_list tree_classdef::leading_comments ( ) const
inlinevirtual

Reimplemented from tree.

Definition at line 730 of file pt-classdef.h.

References token::leading_comments().

◆ make_meta_class()

octave_value tree_classdef::make_meta_class ( interpreter interp,
bool  is_at_folder = false 
)

◆ package_name()

std::string tree_classdef::package_name ( ) const
inline

Definition at line 732 of file pt-classdef.h.

Referenced by cdef_class::make_meta_class().

◆ scope()

symbol_scope tree_classdef::scope ( )
inline

Definition at line 718 of file pt-classdef.h.

◆ superclass_list()

tree_classdef_superclass_list * tree_classdef::superclass_list ( )
inline

Definition at line 726 of file pt-classdef.h.

Referenced by cdef_class::make_meta_class(), and tree_walker::visit_classdef().


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