chromium/third_party/cld_3/src/src/fml_parser.cc

/* Copyright 2016 Google Inc. All Rights Reserved.

Licensed 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.
==============================================================================*/

#include "fml_parser.h"

#include <ctype.h>
#include <string>

#include "base.h"
#include "utils.h"

namespace chrome_lang_id {

namespace {

inline bool IsValidCharAtStartOfIdentifier(char c) {}

// Returns true iff character c can appear inside an identifier.
inline bool IsValidCharInsideIdentifier(char c) {}

// Returns true iff character c can appear at the beginning of a number.
inline bool IsValidCharAtStartOfNumber(char c) {}

// Returns true iff character c can appear inside a number.
inline bool IsValidCharInsideNumber(char c) {}

}  // namespace

FMLParser::FMLParser() {}
FMLParser::~FMLParser() {}

void FMLParser::Initialize(const string &source) {}

void FMLParser::Next() {}

void FMLParser::NextItem() {}

void FMLParser::Parse(const string &source,
                      FeatureExtractorDescriptor *result) {}

void FMLParser::ParseFeature(FeatureFunctionDescriptor *result) {}

void FMLParser::ParseParameter(FeatureFunctionDescriptor *result) {}

void ToFMLFunction(const FeatureFunctionDescriptor &function, string *output) {}

void ToFML(const FeatureFunctionDescriptor &function, string *output) {}

void ToFML(const FeatureExtractorDescriptor &extractor, string *output) {}

string AsFML(const FeatureFunctionDescriptor &function) {}

string AsFML(const FeatureExtractorDescriptor &extractor) {}

void StripFML(string *fml_string) {}

}  // namespace chrome_lang_id