Robot Framework
parsing.py
Go to the documentation of this file.
1 # Copyright 2008-2015 Nokia Networks
2 # Copyright 2016- Robot Framework Foundation
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 # http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 
16 
482 
483 from robot.parsing import (
484  get_tokens,
485  get_resource_tokens,
486  get_init_tokens,
487  get_model,
488  get_resource_model,
489  get_init_model,
490  Token
491 )
492 from robot.parsing.model.blocks import (
493  File,
494  SettingSection,
495  VariableSection,
496  TestCaseSection,
497  KeywordSection,
498  CommentSection,
499  TestCase,
500  Keyword,
501  If,
502  Try,
503  For,
504  While
505 )
506 from robot.parsing.model.statements import (
507  SectionHeader,
508  LibraryImport,
509  ResourceImport,
510  VariablesImport,
511  Documentation,
512  Metadata,
513  SuiteSetup,
514  SuiteTeardown,
515  TestSetup,
516  TestTeardown,
517  TestTemplate,
518  TestTimeout,
519  ForceTags,
520  DefaultTags,
521  KeywordTags,
522  Variable,
523  TestCaseName,
524  KeywordName,
525  Setup,
526  Teardown,
527  Tags,
528  Template,
529  Timeout,
530  Arguments,
531  Return,
532  KeywordCall,
533  TemplateArguments,
534  IfHeader,
535  InlineIfHeader,
536  ElseIfHeader,
537  ElseHeader,
538  TryHeader,
539  ExceptHeader,
540  FinallyHeader,
541  ForHeader,
542  WhileHeader,
543  End,
544  ReturnStatement,
545  Continue,
546  Break,
547  Comment,
548  Config,
549  Error,
550  EmptyLine
551 )
552 from robot.parsing.model.visitor import (
553  ModelTransformer,
554  ModelVisitor
555 )