Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Public Member Functions | Data Fields
ScannerContext Struct Reference

Public Member Functions

 ScannerContext (const char *, char='#', char='\\')
 

Data Fields

std::ifstream file
 
std::string filename
 
char comment_char
 
char escape_char
 
int line
 
std::string line_
 
const char * pos_
 

Detailed Description

scanner.cpp

$Id$

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2001-2006 Rogue Wave Software.

Definition at line 44 of file scanner.cpp.

Constructor & Destructor Documentation

◆ ScannerContext()

ScannerContext::ScannerContext ( const char *  name,
char  cc = '#',
char  ec = '\\' 
)

Definition at line 88 of file scanner.cpp.

Field Documentation

◆ comment_char

char ScannerContext::comment_char

Definition at line 52 of file scanner.cpp.

◆ escape_char

char ScannerContext::escape_char

Definition at line 53 of file scanner.cpp.

◆ file

std::ifstream ScannerContext::file

Definition at line 48 of file scanner.cpp.

◆ filename

std::string ScannerContext::filename

Definition at line 49 of file scanner.cpp.

◆ line

int ScannerContext::line

Definition at line 56 of file scanner.cpp.

◆ line_

std::string ScannerContext::line_

Definition at line 59 of file scanner.cpp.

◆ pos_

const char* ScannerContext::pos_

Definition at line 60 of file scanner.cpp.


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