• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • KDevelop QMake parser
 

KDevelop QMake parser

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

#include <qmakeast.h>

Inheritance diagram for TQMake::AssignmentAST:
TQMake::AST

Public Member Functions

virtual void writeBack (TQString &buffer)
 
- Public Member Functions inherited from TQMake::AST
 AST (NodeType nodeType)
 
virtual void addChildAST (AST *node)
 
virtual void removeChildAST (AST *node)
 
virtual NodeType nodeType () const
 
void setDepth (int depth)
 
int depth () const
 
virtual TQString indentation ()
 

Public Attributes

TQString scopedID
 
TQString op
 
TQStringList values
 
TQString indent
 
- Public Attributes inherited from TQMake::AST
TQValueList< AST * > m_children
 

Additional Inherited Members

- Public Types inherited from TQMake::AST
enum  NodeType {
  ProjectAST, AssignmentAST, NewLineAST, CommentAST,
  IncludeAST, OrOperatorAST
}
 
- Protected Attributes inherited from TQMake::AST
NodeType m_nodeType
 

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 174 of file qmakeast.h.

Member Function Documentation

◆ writeBack()

void TQMake::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 TQMake::AST.

Definition at line 131 of file qmakeast.cpp.

Member Data Documentation

◆ indent

TQString TQMake::AssignmentAST::indent

Indentation of multiline values.

Definition at line 188 of file qmakeast.h.

◆ op

TQString TQMake::AssignmentAST::op

Operator.

Definition at line 184 of file qmakeast.h.

◆ scopedID

TQString TQMake::AssignmentAST::scopedID

Scoped name of the variable.

Definition at line 182 of file qmakeast.h.

◆ values

TQStringList TQMake::AssignmentAST::values

List of values.

Definition at line 186 of file qmakeast.h.


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

KDevelop QMake parser

Skip menu "KDevelop QMake parser"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

KDevelop QMake parser

Skip menu "KDevelop QMake 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 QMake parser by doxygen 1.8.13
This website is maintained by Timothy Pearson.