• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • KDevelop AutoTools Parser
 

KDevelop AutoTools Parser

  • AutoTools
  • AssignmentAST
Public Member Functions | Public Attributes | List of all members
AutoTools::AssignmentAST Class Reference

#include <autotoolsast.h>

Inheritance diagram for AutoTools::AssignmentAST:
AutoTools::AST

Public Member Functions

virtual void writeBack (TQString &buffer)
 
- Public Member Functions inherited from AutoTools::AST
 AST (NodeType nodeType)
 
virtual void addChildAST (AST *node)
 
virtual NodeType nodeType () const
 
void setDepth (int depth)
 
int depth () const
 
virtual TQString indentation ()
 
bool hasChildren () const
 
TQValueList< AST * > children () const
 

Public Attributes

TQString scopedID
 
TQString op
 
TQStringList values
 

Additional Inherited Members

- Public Types inherited from AutoTools::AST
enum  NodeType {
  ProjectAST, AssignmentAST, TargetAST, MakefileConditionalAST,
  NewLineAST, CommentAST
}
 
- Protected Attributes inherited from AutoTools::AST
NodeType m_nodeType
 
TQValueList< AST * > m_children
 

Detailed Description

Assignment AST node.

Represents assignments, for example:

var=value

Values can be specified on several lines and each line is stored as a string in the list of values.
For example, if we have in .pro:

SOURCES=a.cpp \ b.cpp c.cpp

then values will be stored as a two elements list:

a.cpp
b.cpp c.cpp

Definition at line 190 of file autotoolsast.h.

Member Function Documentation

◆ writeBack()

void AutoTools::AssignmentAST::writeBack ( TQString &  buffer)
virtual

Writes information stored in the AST into the buffer.

This is a default implementation which iterates over child nodes and calls writeBack for each child node.

Reimplemented from AutoTools::AST.

Definition at line 90 of file autotoolsast.cpp.

Member Data Documentation

◆ op

TQString AutoTools::AssignmentAST::op

Operator.

Definition at line 201 of file autotoolsast.h.

◆ scopedID

TQString AutoTools::AssignmentAST::scopedID

Scoped name of the variable.

Definition at line 198 of file autotoolsast.h.

◆ values

TQStringList AutoTools::AssignmentAST::values

List of values.

Definition at line 204 of file autotoolsast.h.


The documentation for this class was generated from the following files:
  • autotoolsast.h
  • autotoolsast.cpp

KDevelop AutoTools Parser

Skip menu "KDevelop AutoTools Parser"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

KDevelop AutoTools Parser

Skip menu "KDevelop AutoTools Parser"
  • buildtools
  •   lib
  •     base
  •     parsers
  •       autotools
  •       qmake
  •     widgets
  •   api
  • languages
  •   lib
  •     debugger
  •     designer_integration
  •     interfaces
  • lib
  •   catalog
  •   interfaces
  •     extensions
  •     external
  •     extras
  •   util
  •   widgets
  •     propeditor
  • parts
  •   documentation
  •     interfaces
  • src
  •   profileengine
  •     lib
Generated for KDevelop AutoTools Parser by doxygen 1.8.13
This website is maintained by Timothy Pearson.