Classes | Variables
src.visualstates.parsers.cppparser Namespace Reference

Classes

class  CPPParser
 

Variables

 initialValues
 
string sampleCode
 
string sampleVariables
 
 types
 
 varNames
 

Detailed Description

   Copyright (C) 1997-2017 JDERobot Developers Team

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU Library General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, see <http://www.gnu.org/licenses/>.

   Authors : Okan Asik (asik.okan@gmail.com)

Variable Documentation

src.visualstates.parsers.cppparser.initialValues

Definition at line 145 of file cppparser.py.

string src.visualstates.parsers.cppparser.sampleCode
Initial value:
1 = '''
2  void myFunction(int a) {
3  int c;
4  c = a * 2;
5 }
6 
7 void myF2 ( int b ){
8  int c,d;
9  c = 10;
10  d = 12;
11  a = c*d*b;
12  if ( a == 2) {
13  b = 3;
14  }
15  return a;
16  }
17 
18 
19 
20  int myfunc3() {
21  int a = 12;
22  int b = 324;
23  int c = 0;
24  c = a + b;
25  for (int i = 0; i < 10; i++) {
26  c = a + b;
27  }
28  }
29 '''

Definition at line 103 of file cppparser.py.

string src.visualstates.parsers.cppparser.sampleVariables
Initial value:
1 = '''
2  int a = 12; int b = 23;
3  float myVar; float myVar2 = 12.2;
4  '''

Definition at line 140 of file cppparser.py.

src.visualstates.parsers.cppparser.types

Definition at line 145 of file cppparser.py.

src.visualstates.parsers.cppparser.varNames

Definition at line 145 of file cppparser.py.



visualstates
Author(s):
autogenerated on Thu Apr 1 2021 02:42:20