Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
5 : * This Source Code Form is subject to the terms of the Mozilla Public
6 : * License, v. 2.0. If a copy of the MPL was not distributed with this
7 : * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 : *
9 : * This file incorporates work covered by the following license notice:
10 : *
11 : * Licensed to the Apache Software Foundation (ASF) under one or more
12 : * contributor license agreements. See the NOTICE file distributed
13 : * with this work for additional information regarding copyright
14 : * ownership. The ASF licenses this file to you under the Apache
15 : * License, Version 2.0 (the "License"); you may not use this file
16 : * except in compliance with the License. You may obtain a copy of
17 : * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 : */
19 :
20 : #include <precomp.h>
21 : #include <s2_dsapi/tk_docw2.hxx>
22 :
23 :
24 : // NOT FULLY DEFINED SERVICES
25 : #include <s2_dsapi/tokintpr.hxx>
26 :
27 :
28 :
29 : namespace csi
30 : {
31 : namespace dsapi
32 : {
33 :
34 : void
35 512729 : Tok_Word::Trigger( TokenInterpreter & io_rInterpreter ) const
36 : {
37 512729 : io_rInterpreter.Process_Word(*this);
38 512729 : }
39 :
40 : const char *
41 512729 : Tok_Word::Text() const
42 : {
43 512729 : return sText;
44 : }
45 :
46 : void
47 0 : Tok_Comma::Trigger( TokenInterpreter & io_rInterpreter ) const
48 : {
49 0 : io_rInterpreter.Process_Comma();
50 0 : }
51 :
52 : const char *
53 0 : Tok_Comma::Text() const
54 : {
55 0 : return ",";
56 : }
57 :
58 : void
59 19907 : Tok_DocuEnd::Trigger( TokenInterpreter & io_rInterpreter ) const
60 : {
61 19907 : io_rInterpreter.Process_DocuEnd();
62 19907 : }
63 :
64 : const char *
65 0 : Tok_DocuEnd::Text() const
66 : {
67 0 : return "*/";
68 : }
69 :
70 : void
71 99573 : Tok_EOL::Trigger( TokenInterpreter & io_rInterpreter ) const
72 : {
73 99573 : io_rInterpreter.Process_EOL();
74 99573 : }
75 :
76 : const char *
77 0 : Tok_EOL::Text() const
78 : {
79 0 : return "\r\n";
80 : }
81 :
82 : void
83 0 : Tok_EOF::Trigger( TokenInterpreter & ) const
84 : {
85 : csv_assert(false);
86 0 : }
87 :
88 : const char *
89 0 : Tok_EOF::Text() const
90 : {
91 0 : return "";
92 : }
93 :
94 : void
95 546612 : Tok_White::Trigger( TokenInterpreter & io_rInterpreter ) const
96 : {
97 546612 : io_rInterpreter.Process_White();
98 546612 : }
99 :
100 : const char *
101 0 : Tok_White::Text() const
102 : {
103 0 : return " ";
104 : }
105 :
106 :
107 :
108 :
109 : } // namespace dsapi
110 3 : } // namespace csi
111 :
112 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|